|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Mail
A lightweight representation of a mail message. It provides simplified access to the basic information contained in a mail message.
| Method Summary | |
|---|---|
java.util.List |
getAllRecipients()
Gets all recipients. |
java.util.List |
getBccRecipients()
Gets the list of Bcc recipients. |
java.util.List |
getCcRecipients()
Gets the list of CC recipients. |
java.lang.Object |
getContent()
Gets the content of this message. |
java.lang.String |
getContentType()
Gets the mime type of the content. |
int |
getLineCount()
Gets the number of lines contained in that message. |
java.lang.String |
getMessageId()
Gets the value of the Message-ID header, if available. |
java.util.Date |
getReceivedDate()
Gets the time when the mail message was received. |
java.util.List |
getReplyTo()
Gets the list of replyTo addresses. |
java.lang.String |
getSender()
Gets the sender of this message. |
java.util.Date |
getSentDate()
Gets the time when the mail message was sent. |
int |
getSize()
Gets the size of the content. |
java.lang.String |
getStringContent()
Gets the string content of this message. |
java.lang.String |
getSubject()
Gets the subject of this mail message. |
java.util.List |
getToRecipients()
Gets the list of recipients. |
| Method Detail |
|---|
java.lang.String getMessageId()
java.lang.String getSender()
java.util.List getToRecipients()
java.util.List getCcRecipients()
java.util.List getBccRecipients()
java.util.List getAllRecipients()
java.util.List getReplyTo()
java.lang.String getSubject()
java.util.Date getSentDate()
java.util.Date getReceivedDate()
int getLineCount()
java.lang.String getContentType()
java.lang.Object getContent()
java.lang.String getStringContent()
int getSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||