com.liferay.portal.kernel.mail
Class MailMessage
java.lang.Object
com.liferay.portal.kernel.mail.MailMessage
- All Implemented Interfaces:
- Serializable
public class MailMessage
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailMessage
public MailMessage()
MailMessage
public MailMessage(javax.mail.internet.InternetAddress from,
String subject,
String body,
boolean htmlFormat)
MailMessage
public MailMessage(javax.mail.internet.InternetAddress from,
javax.mail.internet.InternetAddress to,
String subject,
String body,
boolean htmlFormat)
addAttachment
public void addAttachment(File attachment)
getAttachments
public File[] getAttachments()
getBCC
public javax.mail.internet.InternetAddress[] getBCC()
getBody
public String getBody()
getBulkAddresses
public javax.mail.internet.InternetAddress[] getBulkAddresses()
getCC
public javax.mail.internet.InternetAddress[] getCC()
getFrom
public javax.mail.internet.InternetAddress getFrom()
getHTMLFormat
public boolean getHTMLFormat()
getInReplyTo
public String getInReplyTo()
getMessageId
public String getMessageId()
getReplyTo
public javax.mail.internet.InternetAddress[] getReplyTo()
getSMTPAccount
public SMTPAccount getSMTPAccount()
getSubject
public String getSubject()
getTo
public javax.mail.internet.InternetAddress[] getTo()
isHTMLFormat
public boolean isHTMLFormat()
setBCC
public void setBCC(javax.mail.internet.InternetAddress bcc)
setBCC
public void setBCC(javax.mail.internet.InternetAddress[] bcc)
setBody
public void setBody(String body)
setBulkAddresses
public void setBulkAddresses(javax.mail.internet.InternetAddress[] bulkAddresses)
setCC
public void setCC(javax.mail.internet.InternetAddress cc)
setCC
public void setCC(javax.mail.internet.InternetAddress[] cc)
setFrom
public void setFrom(javax.mail.internet.InternetAddress from)
setHTMLFormat
public void setHTMLFormat(boolean htmlFormat)
setInReplyTo
public void setInReplyTo(String inReplyTo)
setMessageId
public void setMessageId(String messageId)
setReplyTo
public void setReplyTo(javax.mail.internet.InternetAddress[] replyTo)
setSMTPAccount
public void setSMTPAccount(SMTPAccount account)
setSubject
public void setSubject(String subject)
setTo
public void setTo(javax.mail.internet.InternetAddress to)
setTo
public void setTo(javax.mail.internet.InternetAddress[] to)