Method Summary |
|
public Date | getDate() Convenience method that returns a Date
representing the received or sent date of the message. |
public String | getFrom() Returns a String representing the sender(s)
of the message. |
public int | getMessageNumber() Returns an int representing the number
of this message. |
public Date | getReceivedDate() Returns a Date representing the
date when the message was received. |
public Date | getSentDate() Returns a Date representing the
date when the message was sent. |
public int | getSize() Returns the size of the message in bytes. |
public String | getSubject() Returns a String representing the subject
of the message. |
public String | getTo() Returns a String representing the receivers(s)
of the message. |
public String | getWho() Convenience method that returns a String
representing the sender's or receiver's address of the message. |
public boolean | isAnswered() Tests if the message was answered. |
public boolean | isDeleted() Tests if the message was marked for deletion. |
public boolean | isDraft() Tests if the message is a draft. |
public boolean | isMultipart() Tests if the message is multipart.
A multipart message has attachments
or is composed out of different parts.
Note that this method will always return the opposite
of isSinglepart() (i.e. |
public boolean | isNew() Tests if the message is new. |
public boolean | isRead() Tests if the message was already read. |
public boolean | isReceived() Tests if the message was received. |
public boolean | isSent() Tests if the message was sent.
Note that this method will always return the opposite of
isReceived() (i.e. |
public boolean | isSinglepart() Tests if the message is singlepart. |