Package org.alfresco.service.cmr.email
Interface EmailMessage
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
EmailMessageImpl,SubethaEmailMessage
public interface EmailMessage extends java.io.SerializableInterface to process email messages.- Since:
- 2.2
- Author:
- maxim
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmailMessagePart[]getAttachments()EmailMessagePartgetBody()java.util.List<java.lang.String>getCC()java.lang.StringgetFrom()java.util.DategetSentDate()java.lang.StringgetSubject()Get the subject of the messagejava.lang.StringgetTo()
-
-
-
Method Detail
-
getFrom
java.lang.String getFrom()
- Returns:
- FROM address.
-
getTo
java.lang.String getTo()
- Returns:
- TO address.
-
getCC
java.util.List<java.lang.String> getCC()
- Returns:
- CC addresses.
-
getSentDate
java.util.Date getSentDate()
- Returns:
- sent date.
-
getSubject
java.lang.String getSubject()
Get the subject of the message- Returns:
- subject of the message or null if there is no subject.
-
getBody
EmailMessagePart getBody()
- Returns:
- part of the mail body.
-
getAttachments
EmailMessagePart[] getAttachments()
- Returns:
- parts of the mail attachments.
-
-