| Package | Description |
|---|---|
| org.simplejavamail.api.email | |
| org.simplejavamail.api.mailer | |
| org.simplejavamail.api.mailer.config |
| Modifier and Type | Method and Description |
|---|---|
Email |
EmailPopulatingBuilder.buildEmail()
Validated DKIM values and then delegates to
Email(EmailPopulatingBuilder) with this as argument. |
Email |
EmailPopulatingBuilder.buildEmailCompletedWithDefaultsAndOverrides()
Delegates to
EmailPopulatingBuilder.buildEmailCompletedWithDefaultsAndOverrides(EmailGovernance) with an empty default email governance, which
will still apply default config (System) properties (files). |
Email |
EmailPopulatingBuilder.buildEmailCompletedWithDefaultsAndOverrides(@NotNull EmailGovernance emailGovernance)
Like
EmailPopulatingBuilder.buildEmail(), but returning the final email version right away. |
@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.
|
@Nullable Email |
Email.getSmimeSignedEmail() |
| 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 |
|---|---|
@Nullable Email |
MailerGenericBuilder.getEmailDefaults() |
@Nullable Email |
MailerGenericBuilder.getEmailOverrides() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull CompletableFuture<Void> |
Mailer.sendMail(Email email)
Delegates to
Mailer.sendMail(Email, boolean), with async = false. |
@NotNull CompletableFuture<Void> |
Mailer.sendMail(Email email,
boolean async)
Processes an
Email instance into a completely configured Message. |
void |
CustomMailer.sendMessage(@NotNull OperationalConfig operationalConfig,
@NotNull jakarta.mail.Session session,
@NotNull Email email,
@NotNull jakarta.mail.internet.MimeMessage message) |
boolean |
Mailer.validate(Email email)
Validates an
Email instance. |
T |
MailerGenericBuilder.withEmailDefaults(@NotNull Email emailDefaults)
Sets a reference
Email to be used for default values on all emails coming through this Mailer instance. |
T |
MailerGenericBuilder.withEmailOverrides(@NotNull Email emailoverrides)
Sets a reference
Email to be used for default values on all emails coming through this Mailer instance. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Email |
EmailGovernance.produceEmailApplyingDefaultsAndOverrides(@Nullable Email provided)
This method will apply the defaults and overrides to the given email and return the result as a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Email |
EmailGovernance.produceEmailApplyingDefaultsAndOverrides(@Nullable Email provided)
This method will apply the defaults and overrides to the given email and return the result as a new instance.
|
Copyright © 2009–2025. All rights reserved.