public class Email extends CommonEmail<Email>
PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_LOW, PRIORITY_LOWEST, PRIORITY_NORMAL, X_PRIORITY
Constructor and Description |
---|
Email() |
Modifier and Type | Method and Description |
---|---|
EmailAddress[] |
bcc()
Returns BCC addresses.
|
Email |
bcc(javax.mail.Address... bccs)
Appends BCC address.
|
Email |
bcc(javax.mail.Address bcc)
Appends BCC address.
|
Email |
bcc(EmailAddress... bccs)
Appends one or more BCC addresses.
|
Email |
bcc(EmailAddress to)
Appends BCC address.
|
Email |
bcc(java.lang.String... bccs)
Appends BCC address.
|
Email |
bcc(java.lang.String bcc)
Appends BCC address.
|
Email |
bcc(java.lang.String personalName,
java.lang.String bcc)
Appends BCC address.
|
Email |
clone()
Clones the email with all its necessary data.
|
static Email |
create()
Static constructor for fluent interface.
|
Email |
currentSentDate()
Sets current date as the sent date.
|
Email |
resetBcc()
Resets BCC addresses.
|
_this, attachment, attachment, attachments, attachments, cc, cc, cc, cc, cc, cc, cc, cc, embeddedAttachment, embeddedAttachment, from, from, from, from, from, header, header, headers, headers, headers, htmlMessage, htmlMessage, message, message, message, message, messages, priority, priority, replyTo, replyTo, replyTo, replyTo, replyTo, replyTo, replyTo, replyTo, resetCc, resetReplyTo, resetTo, sentDate, sentDate, storeAttachment, storeAttachments, subject, subject, subject, subjectEncoding, textMessage, textMessage, to, to, to, to, to, to, to, to, toString, valueOrEmptyArray
public static Email create()
public Email clone()
CommonEmail
clone
in class CommonEmail<Email>
public Email currentSentDate()
CommonEmail.sentDate(Date)
public Email bcc(EmailAddress to)
to
- EmailAddress
to add.public Email bcc(java.lang.String bcc)
bcc
- Address may be specified with personal name like this: Jenny Doe <email@foo.com>
.bcc(EmailAddress)
public Email bcc(java.lang.String personalName, java.lang.String bcc)
personalName
- personal name.bcc
- email address.bcc(EmailAddress)
public Email bcc(javax.mail.Address bcc)
bcc
- Address
to add.bcc(EmailAddress)
public Email bcc(java.lang.String... bccs)
bccs
- array of String
s to set.bcc(EmailAddress...)
public Email bcc(javax.mail.Address... bccs)
bccs
- array of Address
es to set.bcc(EmailAddress...)
public Email bcc(EmailAddress... bccs)
bccs
- vararg of EmailAddress
es to set.public EmailAddress[] bcc()
public Email resetBcc()
Copyright © 2003-present Jodd Team