public final class Message extends Object
| Constructor and Description |
|---|
Message() |
Message(SmtpTransport t) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(IMailAttachment a) |
void |
addBcc(Address a) |
void |
addCc(Address a) |
void |
addTo(Address a) |
List<IMailAttachment> |
getAttachmentList() |
List<Address> |
getBcc() |
String |
getBody() |
List<Address> |
getCc() |
Address |
getFrom() |
String |
getHtmlBody() |
Address |
getReplyTo() |
String |
getSubject() |
List<Address> |
getTo() |
void |
send() |
void |
setBcc(List<Address> bcc) |
void |
setBody(String body) |
void |
setCc(List<Address> cc) |
void |
setFrom(Address from) |
void |
setHtmlBody(String htmlBody) |
void |
setReplyTo(Address replyTo) |
void |
setSubject(String subject) |
void |
setTo(List<Address> to) |
public Message()
public Message(SmtpTransport t)
public void addBcc(Address a)
public String getBody()
public void setBody(String body)
public void addCc(Address a)
public Address getFrom()
public void setFrom(Address from)
public Address getReplyTo()
public void setReplyTo(Address replyTo)
public String getSubject()
public void setSubject(String subject)
public void addTo(Address a)
public void setHtmlBody(String htmlBody)
public void addAttachment(IMailAttachment a)
public String getHtmlBody()
public List<IMailAttachment> getAttachmentList()
Copyright © 2017 etc.to. All rights reserved.