Liferay 6.0.5

com.liferay.portal.kernel.mail
Class MailMessage

java.lang.Object
  extended by com.liferay.portal.kernel.mail.MailMessage
All Implemented Interfaces:
Serializable

public class MailMessage
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MailMessage()
           
MailMessage(javax.mail.internet.InternetAddress from, javax.mail.internet.InternetAddress to, String subject, String body, boolean htmlFormat)
           
MailMessage(javax.mail.internet.InternetAddress from, String subject, String body, boolean htmlFormat)
           
 
Method Summary
 void addAttachment(File attachment)
           
 File[] getAttachments()
           
 javax.mail.internet.InternetAddress[] getBCC()
           
 String getBody()
           
 javax.mail.internet.InternetAddress[] getBulkAddresses()
           
 javax.mail.internet.InternetAddress[] getCC()
           
 javax.mail.internet.InternetAddress getFrom()
           
 boolean getHTMLFormat()
           
 String getInReplyTo()
           
 String getMessageId()
           
 javax.mail.internet.InternetAddress[] getReplyTo()
           
 SMTPAccount getSMTPAccount()
           
 String getSubject()
           
 javax.mail.internet.InternetAddress[] getTo()
           
 boolean isHTMLFormat()
           
 void setBCC(javax.mail.internet.InternetAddress bcc)
           
 void setBCC(javax.mail.internet.InternetAddress[] bcc)
           
 void setBody(String body)
           
 void setBulkAddresses(javax.mail.internet.InternetAddress[] bulkAddresses)
           
 void setCC(javax.mail.internet.InternetAddress cc)
           
 void setCC(javax.mail.internet.InternetAddress[] cc)
           
 void setFrom(javax.mail.internet.InternetAddress from)
           
 void setHTMLFormat(boolean htmlFormat)
           
 void setInReplyTo(String inReplyTo)
           
 void setMessageId(String messageId)
           
 void setReplyTo(javax.mail.internet.InternetAddress[] replyTo)
           
 void setSMTPAccount(SMTPAccount account)
           
 void setSubject(String subject)
           
 void setTo(javax.mail.internet.InternetAddress to)
           
 void setTo(javax.mail.internet.InternetAddress[] to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)

Liferay 6.0.5