Package org.alfresco.service.cmr.email
Interface EmailMessage
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
EmailMessageImpl,SubethaEmailMessage
public interface EmailMessage extends Serializable
Interface 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()List<String>getCC()StringgetFrom()DategetSentDate()StringgetSubject()Get the subject of the messageStringgetTo()
-
-
-
Method Detail
-
getFrom
String getFrom()
- Returns:
- FROM address.
-
getTo
String getTo()
- Returns:
- TO address.
-
getSentDate
Date getSentDate()
- Returns:
- sent date.
-
getSubject
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.
-
-