Class SubethaEmailMessage
- java.lang.Object
-
- org.alfresco.email.server.impl.subetha.SubethaEmailMessage
-
- All Implemented Interfaces:
java.io.Serializable,EmailMessage
public class SubethaEmailMessage extends java.lang.Object implements EmailMessage
Concrete representation of an email message as implemented for the SubEtha mail server.- Since:
- 2.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubethaEmailMessage()SubethaEmailMessage(java.io.InputStream dataInputStream)SubethaEmailMessage(javax.mail.internet.MimeMessage mimeMessage)
-
Method Summary
All Methods Instance Methods Concrete 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()voidsetRmiRegistry(java.lang.String rmiRegistryHost, int rmiRegistryPort)
-
-
-
Method Detail
-
setRmiRegistry
public void setRmiRegistry(java.lang.String rmiRegistryHost, int rmiRegistryPort)
-
getCC
public java.util.List<java.lang.String> getCC()
- Specified by:
getCCin interfaceEmailMessage- Returns:
- CC addresses.
-
getFrom
public java.lang.String getFrom()
- Specified by:
getFromin interfaceEmailMessage- Returns:
- FROM address.
-
getTo
public java.lang.String getTo()
- Specified by:
getToin interfaceEmailMessage- Returns:
- TO address.
-
getSentDate
public java.util.Date getSentDate()
- Specified by:
getSentDatein interfaceEmailMessage- Returns:
- sent date.
-
getSubject
public java.lang.String getSubject()
Description copied from interface:EmailMessageGet the subject of the message- Specified by:
getSubjectin interfaceEmailMessage- Returns:
- subject of the message or null if there is no subject.
-
getBody
public EmailMessagePart getBody()
- Specified by:
getBodyin interfaceEmailMessage- Returns:
- part of the mail body.
-
getAttachments
public EmailMessagePart[] getAttachments()
- Specified by:
getAttachmentsin interfaceEmailMessage- Returns:
- parts of the mail attachments.
-
-