Package de.aristaflow.adept2.model.mail
Class SerialisedEmail
- java.lang.Object
-
- de.aristaflow.adept2.model.mail.SerialisedEmail
-
- All Implemented Interfaces:
Serializable
@Deprecated public class SerialisedEmail extends Object implements Serializable
Deprecated.UseEmail
instead.Simple object that wraps the content of an e-mail message in a serialisable object.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getBody()
Deprecated.String
getContentType()
Deprecated.byte[]
getData()
Deprecated.String[]
getFrom()
Deprecated.String[]
getRecipients()
Deprecated.String
getSubject()
Deprecated.
-
-
-
Constructor Detail
-
SerialisedEmail
public SerialisedEmail(String[] from, String[] recipients, String contentType, String subject, String body, byte[] data)
Deprecated.- Parameters:
from
- The sender of the e-mail message.recipients
- All recipients of the e-mail message.contentType
- The content type of the e-mail message.subject
- The subject of the e-mail message.body
- The content of the e-mail message.data
- The byte[]-representation of the e-mail message.
-
-
Method Detail
-
getFrom
public String[] getFrom()
Deprecated.- Returns:
- The sender of the email message.
-
getRecipients
public String[] getRecipients()
Deprecated.- Returns:
- The recipients of the email message.
-
getContentType
public String getContentType()
Deprecated.- Returns:
- The email message content type.
-
getSubject
public String getSubject()
Deprecated.- Returns:
- The email message subject.
-
getBody
public String getBody()
Deprecated.- Returns:
- The string representation of the email message content.
-
getData
public byte[] getData()
Deprecated.- Returns:
- The byte[] representation of the email message.
-
-