public class EmailAttr
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
ATTR_BODY_IMAGE |
限定符和类型 | 方法和说明 |
---|---|
void |
addOtherAttr(java.lang.String key,
java.lang.Object value) |
static EmailAttr |
build(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.lang.String subject,
java.lang.String content,
boolean showTPL,
EmailAttachment[] attachments) |
EmailAttachment[] |
getAttachments() |
java.lang.String |
getBcc() |
java.lang.String |
getCc() |
java.lang.String |
getContent() |
java.lang.String |
getFrom() |
java.lang.Object |
getOtherAttr(java.lang.String key) |
java.lang.String |
getSubject() |
java.lang.String |
getTo() |
boolean |
isShowTPL() |
void |
setAttachments(EmailAttachment[] attachments) |
void |
setBcc(java.lang.String bcc) |
void |
setCc(java.lang.String cc) |
void |
setContent(java.lang.String content) |
void |
setFrom(java.lang.String from) |
void |
setShowTPL(boolean showTPL) |
void |
setSubject(java.lang.String subject) |
void |
setTo(java.lang.String to) |
public static final java.lang.String ATTR_BODY_IMAGE
public static EmailAttr build(java.lang.String to, java.lang.String cc, java.lang.String bcc, java.lang.String from, java.lang.String subject, java.lang.String content, boolean showTPL, EmailAttachment[] attachments)
public java.lang.String getTo()
public void setTo(java.lang.String to)
public java.lang.String getCc()
public void setCc(java.lang.String cc)
public java.lang.String getBcc()
public void setBcc(java.lang.String bcc)
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
public java.lang.String getContent()
public void setContent(java.lang.String content)
public EmailAttachment[] getAttachments()
public boolean isShowTPL()
public void setShowTPL(boolean showTPL)
public void setAttachments(EmailAttachment[] attachments)
public void addOtherAttr(java.lang.String key, java.lang.Object value)
public java.lang.Object getOtherAttr(java.lang.String key)