| Package | Description |
|---|---|
| org.simplejavamail.api.email | |
| org.simplejavamail.api.mailer | |
| org.simplejavamail.converter | |
| org.simplejavamail.email | |
| org.simplejavamail.mailer |
| Modifier and Type | Method and Description |
|---|---|
Email |
EmailPopulatingBuilder.buildEmail()
Validated DKIM values and then delegates to
Email(EmailPopulatingBuilder) with this as argument. |
@Nullable Email |
Email.getSmimeSignedEmail() |
@Nullable Email |
EmailPopulatingBuilder.getSmimeSignedEmail()
If the Email instance currently being built was the result of a conversion in which the source message was S/MIME
signed / encrypted, this field will contain the decrypted MimeMessage instance.
|
| Modifier and Type | Method and Description |
|---|---|
EmailPopulatingBuilder |
EmailStartingBuilder.copying(@NotNull Email email)
Preconfigures the builder with all the properties from the given email that are non-null.
|
static boolean |
EqualsHelper.equalsEmail(Email email1,
Email email2) |
EmailPopulatingBuilder |
EmailStartingBuilder.forwarding(@NotNull Email email)
Delegates to
EmailStartingBuilder.forwarding(MimeMessage) with the provided Email converted to MimeMessage. |
EmailPopulatingBuilder |
EmailStartingBuilder.replyingTo(@NotNull Email email)
Delegates to
EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to false and a default HTML quoting
template. |
EmailPopulatingBuilder |
EmailStartingBuilder.replyingTo(@NotNull Email email,
@NotNull String customQuotingTemplate)
Delegates to
EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to false. |
EmailPopulatingBuilder |
EmailStartingBuilder.replyingToAll(@NotNull Email email)
Delegates to
EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to true and a default HTML quoting
template. |
EmailPopulatingBuilder |
EmailStartingBuilder.replyingToAll(@NotNull Email email,
@NotNull String customQuotingTemplate)
Delegates to
EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to true. |
| Modifier and Type | Method and Description |
|---|---|
void |
Mailer.sendMail(Email email)
Delegates to
Mailer.sendMail(Email, boolean), with async = false. |
@Nullable AsyncResponse |
Mailer.sendMail(Email email,
boolean async)
Processes an
Email instance into a completely configured Message. |
void |
CustomMailer.sendMessage(@NotNull OperationalConfig operationalConfig,
@NotNull javax.mail.Session session,
Email email,
@NotNull javax.mail.internet.MimeMessage message) |
boolean |
Mailer.validate(Email email)
Validates an
Email instance. |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Email |
EmailConverter.emlToEmail(@NotNull File emlFile)
Delegates to
EmailConverter.emlToEmail(File, Pkcs12Config). |
static @NotNull Email |
EmailConverter.emlToEmail(@NotNull File emlFile,
@Nullable Pkcs12Config pkcs12Config)
Delegates to
EmailConverter.emlToEmailBuilder(File, Pkcs12Config). |
static @NotNull Email |
EmailConverter.emlToEmail(@NotNull InputStream emlInputStream)
Delegates to
EmailConverter.emlToEmail(InputStream, Pkcs12Config). |
static @NotNull Email |
EmailConverter.emlToEmail(@NotNull InputStream emlInputStream,
@Nullable Pkcs12Config pkcs12Config)
Delegates to
EmailConverter.emlToEmailBuilder(InputStream, Pkcs12Config) with the full string value read from the given InputStream. |
static @NotNull Email |
EmailConverter.emlToEmail(@NotNull String eml)
Delegates to
EmailConverter.emlToEmail(String, Pkcs12Config). |
static @NotNull Email |
EmailConverter.emlToEmail(@NotNull String eml,
@Nullable Pkcs12Config pkcs12Config)
Delegates to
EmailConverter.emlToEmailBuilder(String, Pkcs12Config). |
static @NotNull Email |
EmailConverter.mimeMessageToEmail(@NotNull javax.mail.internet.MimeMessage mimeMessage)
|
static @NotNull Email |
EmailConverter.mimeMessageToEmail(@NotNull javax.mail.internet.MimeMessage mimeMessage,
@Nullable Pkcs12Config pkcs12Config)
|
static @NotNull Email |
EmailConverter.outlookMsgToEmail(@NotNull File msgFile)
Delegates to
EmailConverter.outlookMsgToEmailBuilder(File) and then builds and returns the email. |
static @NotNull Email |
EmailConverter.outlookMsgToEmail(@NotNull File msgFile,
@Nullable Pkcs12Config pkcs12Config)
Delegates to
EmailConverter.outlookMsgToEmailBuilder(File, Pkcs12Config) and then builds and returns the email. |
static @NotNull Email |
EmailConverter.outlookMsgToEmail(@NotNull InputStream msgInputStream)
|
static @NotNull Email |
EmailConverter.outlookMsgToEmail(@NotNull InputStream msgInputStream,
@Nullable Pkcs12Config pkcs12Config)
|
static @NotNull Email |
EmailConverter.outlookMsgToEmail(@NotNull String msgData)
Delegates to
EmailConverter.outlookMsgToEmail(String, Pkcs12Config). |
static @NotNull Email |
EmailConverter.outlookMsgToEmail(@NotNull String msgData,
@Nullable Pkcs12Config pkcs12Config) |
| Modifier and Type | Method and Description |
|---|---|
static String |
EmailConverter.emailToEML(@NotNull Email email)
Delegates to
EmailConverter.emailToMimeMessage(Email) and passes the result to EmailConverter.mimeMessageToEML(MimeMessage). |
static javax.mail.internet.MimeMessage |
EmailConverter.emailToMimeMessage(@NotNull Email email)
Delegates to
EmailConverter.emailToMimeMessage(Email, Session), using a new empty Session instance. |
static javax.mail.internet.MimeMessage |
EmailConverter.emailToMimeMessage(@NotNull Email email,
@NotNull javax.mail.Session session)
Refer to
MimeMessageProducerHelper.produceMimeMessage(Email, Session). |
| Modifier and Type | Method and Description |
|---|---|
static EmailPopulatingBuilder |
EmailBuilder.copying(@NotNull Email email)
Delegates to
EmailStartingBuilder.copying(Email). |
static EmailPopulatingBuilder |
EmailBuilder.forwarding(@NotNull Email email)
Delegates to
EmailStartingBuilder.forwarding(Email). |
static EmailPopulatingBuilder |
EmailBuilder.replyingTo(@NotNull Email email)
Delegates to
EmailStartingBuilder.replyingTo(Email). |
static EmailPopulatingBuilder |
EmailBuilder.replyingTo(@NotNull Email email,
@NotNull String customQuotingTemplate)
Delegates to
EmailStartingBuilder.replyingTo(Email, String). |
static EmailPopulatingBuilder |
EmailBuilder.replyingToAll(@NotNull Email email)
Delegates to
EmailStartingBuilder.replyingToAll(Email). |
static EmailPopulatingBuilder |
EmailBuilder.replyingToAll(@NotNull Email email,
@NotNull String customQuotingTemplate)
Delegates to
EmailStartingBuilder.replyingToAll(Email, String). |
| Modifier and Type | Method and Description |
|---|---|
static javax.mail.internet.MimeMessage |
MailerHelper.signAndOrEncryptMessageWithSmime(@NotNull javax.mail.Session session,
@NotNull javax.mail.internet.MimeMessage messageToProtect,
@NotNull Email emailContainingSmimeDetails)
Depending on the Email configuration, signs and then encrypts message (both steps optional), using the S/MIME module.
|
static javax.mail.internet.MimeMessage |
MailerHelper.signMessageWithDKIM(@NotNull javax.mail.internet.MimeMessage messageToSign,
@NotNull Email emailContainingSigningDetails) |
static boolean |
MailerHelper.validate(@NotNull Email email,
@NotNull EnumSet<org.hazlewood.connor.bottema.emailaddress.EmailAddressCriteria> emailAddressCriteria) |
Copyright © 2009–2020. All rights reserved.