|
|||||||||
| 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 | |
|---|---|
List |
getAllRecipients()
Gets all recipients. |
List |
getBccRecipients()
Gets the list of Bcc recipients. |
List |
getCcRecipients()
Gets the list of CC recipients. |
Object |
getContent()
Gets the content of this message. |
String |
getContentType()
Gets the mime type of the content. |
int |
getLineCount()
Gets the number of lines contained in that message. |
String |
getMessageId()
Gets the value of the Message-ID header, if available. |
Date |
getReceivedDate()
Gets the time when the mail message was received. |
List |
getReplyTo()
Gets the list of replyTo addresses. |
String |
getSender()
Gets the sender of this message. |
Date |
getSentDate()
Gets the time when the mail message was sent. |
int |
getSize()
Gets the size of the content. |
String |
getStringContent()
Gets the string content of this message. |
String |
getSubject()
Gets the subject of this mail message. |
List |
getToRecipients()
Gets the list of recipients. |
| Method Detail |
|---|
String getMessageId()
String getSender()
List getToRecipients()
List getCcRecipients()
List getBccRecipients()
List getAllRecipients()
List getReplyTo()
String getSubject()
Date getSentDate()
Date getReceivedDate()
int getLineCount()
String getContentType()
Object getContent()
String getStringContent()
int getSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||