org.alfresco.service.cmr.email
Interface EmailMessage

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
EmailMessageImpl, SubethaEmailMessage

public interface EmailMessage
extends java.io.Serializable

Interface to process email messages.

Since:
2.2

Method Summary
 EmailMessagePart[] getAttachments()
           
 EmailMessagePart getBody()
           
 java.util.List getCC()
           
 java.lang.String getFrom()
           
 java.util.Date getSentDate()
           
 java.lang.String getSubject()
           
 java.lang.String getTo()
           
 

Method Detail

getFrom

java.lang.String getFrom()
Returns:
FROM address.

getTo

java.lang.String getTo()
Returns:
TO address.

getCC

java.util.List getCC()
Returns:
CC addresses.

getSentDate

java.util.Date getSentDate()
Returns:
sent date.

getSubject

java.lang.String getSubject()
Returns:
subject of the message.

getBody

EmailMessagePart getBody()
Returns:
part of the mail body.

getAttachments

EmailMessagePart[] getAttachments()
Returns:
parts of the mail attachments.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.