public interface MailEvent extends Event
To allow for event handling chains for the very same event, some issues need
to be respected when handling a MailEvent:
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAllRecipients()
Gets the recipients (mail addresses) of the mail that caused this event.
|
javax.mail.Message |
getMessage()
Gets the message (mail) that caused this event.
|
java.util.Date |
getReceivedDate()
Gets the date the mail that caused this event has been received.
|
java.lang.String[] |
getSenders()
Gets the senders (mail addresses) of the mail that caused this event.
|
java.util.Date |
getSentDate()
Gets the date the mail that caused this event has been sent.
|
java.lang.String |
getStringContent()
Gets the string content of the mail that caused this event.
|
java.lang.String |
getSubject()
Gets the subject of the mail that caused this event.
|
getCreationTime, getEventManager, getEventType, getID, getSourceID, getSourceTypejava.lang.String[] getAllRecipients()
java.lang.String[] getSenders()
java.lang.String getSubject()
null will be returned.java.util.Date getReceivedDate()
null will be returned.java.util.Date getSentDate()
null will
be returned.java.lang.String getStringContent()
null will be returned.javax.mail.Message getMessage()