Returns the "From" attribute. The "From" attribute contains the identity of the person(s) who wished this message
to be sent. In certain implementations, this may be different from the entity that actually sent the message.
This method returns null if this attribute is not present in this message. Returns an empty array if this
attribute is present, but contains no addresses.
Writes this part to the given Stream. The output is typically an aggregation of the Part attributes and an
appropriately encoded byte stream from its 'content'.
Classes that extends the Part class decide on the appropriate encoding algorithm to be used.
The received Stream is typically used for sending.
Get a new Message suitable for a reply to this message. The new Message will have its attributes and headers set
up appropriately. Note that this new message object will be empty, that is, it will not have a "content". These
will have to be suitably filled in by the client.
If replyToAll is set, the new Message will be addressed to all recipients of this message. Otherwise, the reply
will be addressed to only the sender of this message.
The "Subject" field is filled in with the original subject prefixed with "Re:" (unless it already starts with
The reply message will use the same session as this message.
NOTE: The replyToAll feature is NOT supported yet, messages returned by this method will contain only the original
sender as recipient.
replyToAll - reply should be sent to all recipients of this message