All Downloads are FREE. Search and download functionalities are using the official Maven repository.

amail.cli-module.8.12.3.source-code.therapi.data Maven / Gradle / Ivy

java.util.HashMa?~?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetTrustingAllHosts()com.github.therapi.runtimejavadoc.MethodJavado?com.github.therapi.runtimejavadoc.Commen?java.util.ArrayLis?com.github.therapi.runtimejavadoc.CommentTex??Reset trusting any host; trust all hosts is set to com.github.therapi.runtimejavadoc.InlineValu?com.github.therapi.runtimejavadoc.Valu?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_TRUST_ALL_HOST??.java.util.LinkedHashMa?resetTrustingAllHost??com.github.therapi.runtimejavadoc.SeeAlsoJavado?	com.github.therapi.runtimejavadoc.Lin?#trustingAllHosts(boolean??boolea?org.simplejavamail.api.mailer.MailerGenericBuildertrustingAllHost??	#trustingSSLHosts(String...??String..??org.simplejavamail.api.mailer.MailerGenericBuildertrustingSSLHost??	?#verifyingServerIdentity(boolean)?boolea?org.simplejavamail.api.mailer.MailerGenericBuilderverifyingServerIdentit???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.replyingToAll(jakarta.mail.internet.MimeMessage)Delegates to?
com.github.therapi.runtimejavadoc.InlineLin?	?#replyingTo(MimeMessage, boolean, String)?MimeMessag?boolea?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? with replyToAll set to true and a default HTML quoting
 template.replyingToAl???jakarta.mail.internet.MimeMessagemessag?com.github.therapi.runtimejavadoc.ParamJavado???The email to include as replied-to-email and who's receivers all will receive the new reply email.messag??	#DEFAULT_QUOTING_MARKU??org.simplejavamail.api.email.EmailStartingBuilderDEFAULT_QUOTING_MARKU???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withPlainText(java.lang.String)??Sets the optional email message body in plain text.
 

Both text and HTML can be provided, which will be offered to the email client as alternative content. Email clients that support it, will favor HTML over plain text and ignore the text body completely.withPlainTex?  ?java.lang.Strin?tex?  ??Plain text to set as email body (overwrites any previous plain text body). If no HTML body is included as well, plain text would be used instead by the email client.tex?  ? #withPlainText(File? ?Fil?org.simplejavamail.api.email.EmailPopulatingBuilderwithPlainTex?? #prependText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderprependTex?? #appendText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderappendTex???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImageBaseUrl(java.lang.String) Delegates to?  #withEmbeddedImageBaseUrl(URL? ?UR̴org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseUr??.withEmbeddedImageBaseUr?  ?java.lang.Strin?embeddedImageBaseUr?  ??The base URL used when resolving images sources in HTML text.embeddedImageBaseUr?  ? ?#withEmbeddedImageAutoResolutionForURLs(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?withEmbeddedImageAutoResolutionForURLs? ?#allowingEmbeddedImageOutsideBaseUrl(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?allowingEmbeddedImageOutsideBaseUrl??public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withTransportModeLoggingOnly(java.lang.Boolean) ??Determines whether at the very last moment an email is sent out using JavaMail's native API or whether the email is simply only logged.withTransportModeLoggingOnl?  ?java.lang.Boolea?transportModeLoggingOnl?  Flag? com.github.therapi.runtimejavadoc.InlineTa?cod?tru? or? cod?fals?? that enables or disables logging only mode when sending emails.transportModeLoggingOnl?  ? #resetTransportModeLoggingOnly(? ?org.simplejavamail.api.mailer.MailerGenericBuilderresetTransportModeLoggingOnl???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withPlainText(java.io.File) Delegates to?  #withPlainText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithPlainTex??.withPlainTex?  ?java.io.Fil?textFil?  ??Plain text to set as email body (overwrites any previous plain text body). If no HTML body is included as well, plain text would be used instead by the email client.textFil?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.appendTextHTML(java.lang.String) ??Appends HTML text to the current HTML text body (or starts it if HTML text body is missing).appendTextHTM?  ?java.lang.Strin?textHTM?  ??The HTML text to append to whatever is already there in the body.textHTM?  ? #appendTextHTML(File? ?Fil?org.simplejavamail.api.email.EmailPopulatingBuilderappendTextHTM?? #prependTextHTML(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderprependTextHTM?? #withHTMLText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithHTMLTex???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.clearProperties() ?Removes all properties?clearPropertie?    ? #withProperties(Properties? ?Propertie?org.simplejavamail.api.mailer.MailerGenericBuilderwithPropertie???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withThreadPoolKeepAliveTime(java.lang.Integer) ?When set to a non-zero value (milliseconds), this keepAlivetime is applied to both core and extra threads. This is so that these threads can never block the JVM from exiting once they finish their task. This is different from daemon threads, which are abandonded without waiting for them to finish the tasks.

When set to zero, this keepAliveTime is applied only to extra threads, not core threads. This is the classic executor behavior, but this blocks the JVM from exiting.

Defaults to ?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_POOL_KEEP_ALIVE_TIM??ms.

Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.withThreadPoolKeepAliveTim?  ?java.lang.Intege?threadPoolKeepAliveTim?  ??Value in milliseconds. See main description for details.threadPoolKeepAliveTim?  ? #resetThreadPoolKeepAliveTime(? ?org.simplejavamail.api.mailer.MailerGenericBuilderresetThreadPoolKeepAliveTim???public abstract org.simplejavamail.api.email.EmailStartingBuilder org.simplejavamail.api.email.EmailStartingBuilder.ignoringOverrides() ?Configures this builder to create an email ignoring the all overrides from (System) properties, config files or defaults email on Mailer level in the   ?org.simplejavamail.api.mailer.config.EmailGovernance ?org.simplejavamail.api.mailer.config.EmailGovernance??. You can make individual exceptions with   ?EmailPopulatingBuilder#dontApplyOverrideValueFor(EmailProperty...) ?EmailProperty..?EmailPopulatingBuilde?dontApplyOverrideValueFo??
Note: This is irrelevant for Email instances used to set on   ?org.simplejavamail.api.mailer.config.EmailGovernance ?org.simplejavamail.api.mailer.config.EmailGovernance?? as defaults or overrides reference.ignoringOverride?    ? ?EmailPopulatingBuilder#dontApplyOverrideValueFor(EmailProperty...) ?EmailProperty..?EmailPopulatingBuilde?dontApplyOverrideValueFo???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withContentTransferEncoding(org.simplejavamail.api.email.ContentTransferEncoding) ?Determines what encoding is applied to the text/html/iCalendar encoding in the MimeMessage/EML. Default is   ?ContentTransferEncoding#QUOTED_PRINTABLE ContentTransferEncodin?QUOTED_PRINTABL??, which basicallt means plain text, so you can just read the content of the EML (if not encrypted).

However, you can choose another encoding as supported by Jakarta Mail. The list is quite extensive, but the most common alternative is base64. This might be useful for example for obfuscating the content to some extent.withContentTransferEncodin?  ??org.simplejavamail.api.email.ContentTransferEncodingcontentTransferEncodin?  ??The encoder to use for the text/html/iCalendar content.contentTransferEncodin?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.prependTextHTML(java.io.File) Delegates to?  #prependTextHTML(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderprependTextHTM??.prependTextHTM?  ?java.io.Fil?textHTMLFil?  ??The HTML text to prepend to whatever is already there in the body.textHTMLFil?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearEmbeddedImageBaseUrl() ?Resets base URL for embedded images to  cod?nul??.clearEmbeddedImageBaseUr?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withSubject(java.lang.String) ??Sets the optional subject of this email.withSubjec?  ?java.lang.Strin?subjec?  ??Optional text to be used in the subject field of the email.subjec?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetConnectionPoolClaimTimeoutMillis() ?Resets connection pool connection claim timeout back to indefinately.

Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.?resetConnectionPoolClaimTimeoutMillis    ? ?#withConnectionPoolClaimTimeoutMillis(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilder?withConnectionPoolClaimTimeoutMillis??public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.clearMaximumEmailSize() ??Makes the maximum email size null, meaning no size check will be performed.clearMaximumEmailSiz?    ? #withMaximumEmailSize(int? ?in??org.simplejavamail.api.mailer.MailerGenericBuilderwithMaximumEmailSiz???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.bcc(java.lang.String,java.lang.String) Delegates to?  ?#withRecipients(String, boolean, Collection, Message.RecipientType) ?Strin?boolea?Collectio?Message.RecipientTyp?org.simplejavamail.api.email.EmailPopulatingBuilderwithRecipient??, with recipientType=  Message.RecipientType#BC? Message.RecipientTyp?BC?? and fixedName=true assigning or overwriting existing names with the provided name.bc?  ?java.lang.Strin?java.lang.Strin?nam?  ??The optional name of the BCC receiver(s) of the email. If multiples addresses are provided, all addresses will be in this same name.nam?oneOrMoreAddresse?  ??Single RFC2822 address or delimited list of RFC2822 addresses of BCC receiver(s). Any names included are ignored if a name was provided. Examples:

oneOrMoreAddresse?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetConnectionPoolCoreSize() ?Resets connection pool core size to its default (?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_CONNECTIONPOOL_CORE_SIZ??).

Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.resetConnectionPoolCoreSiz?    ? ?#withConnectionPoolCoreSize(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithConnectionPoolCoreSiz???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withProxyBridgePort(java.lang.Integer) ?Relevant only when using username authentication with a proxy.

Overrides the default for the intermediary SOCKS5 relay server bridge, which is a server that sits in between JavaMail and the remote proxy.

Defaults to ?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_PROXY_BRIDGE_POR?? if no custom default property was configured.

Note: this is only works in combination with the ?org.simplejavamail.internal.modules.AuthenticatedSocksModuleNAM??.withProxyBridgePor?  ?java.lang.Intege?proxyBridgePor?  ??The port to use for the proxy bridging server.proxyBridgePor?  ? #withProxyUsername(String? ?Strin?org.simplejavamail.api.mailer.MailerGenericBuilderwithProxyUsernam???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withProxy(java.lang.String,java.lang.Integer,java.lang.String,java.lang.String)  ?Sets proxy server settings, by delegating to:

  1.   #withProxyHost(String? ?Strin?org.simplejavamail.api.mailer.MailerGenericBuilderwithProxyHos?
  2. batch-module.

    This is only relevant if you have multiple mail servers in one or more clusters. Currently, it is impossible to define different load balancing strategies for different clusters.

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.?withConnectionPoolLoadBalancingStrategy  ??org.simplejavamail.api.mailer.config.LoadBalancingStrategyloadBalancingStrateg?  ?See main description?loadBalancingStrateg?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.verifyingServerIdentity(boolean) ?Configures the current session to not verify the server's identity on an SSL connection. Defaults to true, even for SMTP which makes sense since opportunistic TLS is also enabled by default (also see   ?TransportStrategy#setOpportunisticTLS(Boolean) ?Boolea?TransportStrateg?setOpportunisticTL??).

    Note that this is not the same as   #trustingAllHosts(boolean? ?boolea?org.simplejavamail.api.mailer.MailerGenericBuildertrustingAllHost? or?  #trustingSSLHosts(String...? ?String..??org.simplejavamail.api.mailer.MailerGenericBuildertrustingSSLHost??.
    It would be prudent to have at least one of these features turned on, lest you be vulnerable to man-in-the-middle attacks.verifyingServerIdentit?  ?boolea?verifyingServerIdentit?  ?See main description?verifyingServerIdentit?  ? com.github.therapi.runtimejavadoc.SeeAlsoJavadoc$HtmlLin??https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html#mail.smtp.ssl.checkserveridentity?mail.smtp.ssl.checkserveridentity? #trustingAllHosts(boolean? ?boolea?org.simplejavamail.api.mailer.MailerGenericBuildertrustingAllHost?? #trustingSSLHosts(String...? ?String..??org.simplejavamail.api.mailer.MailerGenericBuildertrustingSSLHost?? ?https://www.oracle.com/technetwork/java/sslnotes-150073.txt?Notes for use of SSL with JavaMail??public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withDispositionNotificationTo(java.lang.String,java.lang.String) Delegates to?  ?#withDispositionNotificationTo(Recipient) ?Recipien??org.simplejavamail.api.email.EmailPopulatingBuilderwithDispositionNotificationT? with a new?  Recipien? Recipien?? wrapped around the provided name and address.withDispositionNotificationT?  ?java.lang.Strin?java.lang.Strin?nam?  ??Optional name of the receiver of the notificationnam?addres?  ??The address of the receiver of the notificationaddres?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearEmbeddedImages() ??Resets embeddedImages to empty.clearEmbeddedImage?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.ignoringOverrides(boolean) ??Indicates that when the email is sent, no override values whatsoever should be applied to the email.ignoringOverride?  ?boolea?ignoreOverride?  ??Whether to ignore all overrides values or not for this email.ignoreOverride?  ? ?#dontApplyOverrideValueFor(EmailProperty...) ?EmailProperty..??org.simplejavamail.api.email.EmailPopulatingBuilderdontApplyOverrideValueFo?? ?org.simplejavamail.api.mailer.MailerRegularBuilder#withEmailOverrides(Email) ?Emai?org.simplejavamail.api.mailer.MailerRegularBuilderwithEmailOverride???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearReplyTo() ??Resets replyToRecipients to empty.clearReplyT?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearReturnReceiptTo() ??Resets returnReceiptTo to empty.clearReturnReceiptT?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withAttachment(java.lang.String,jakarta.activation.DataSource,java.lang.String,org.simplejavamail.api.email.ContentTransferEncoding) ?Adds an attachment to the email message, which will be shown in the email client as seperate files available for download or inline display if the client supports it (for example, most browsers these days display PDF's in a popup).

    Note: for embedding images instead of attaching them for download, refer to   ?#withEmbeddedImage(String, DataSource) ?Strin?DataSourc?org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImag? instead?withAttachmen?  ?java.lang.Strin?jakarta.activation.DataSourc?java.lang.Strin?org.simplejavamail.api.email.ContentTransferEncodingnam?  ?Optional name of the attachment (e.g. 'filename.ext'). If omitted, the internal name of the datasource is used. If that too is empty, a name will be generated using   java.util.UUI? java.util.UUIĀ?.nam?filedat?  ?The attachment data?filedat?descriptio?  ??An optional description that will find its way in the MimeMEssage with the Content-Description header. This is rarely needed.descriptio?contentTransferEncodin?  ??An optional encoder option to force the data encoding while in MimeMessage/EML format.contentTransferEncodin?  ? ?#withAttachment(String, DataSource, String, ContentTransferEncoding) ?Strin?DataSourc?Strin?ContentTransferEncodin?org.simplejavamail.api.email.EmailPopulatingBuilderwithAttachmen?? #withAttachments(List? ?Lis??org.simplejavamail.api.email.EmailPopulatingBuilderwithAttachment???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.startingBlank() ?Most common use case for creating a new email. Starts with an empty email, populated with defaults when set through config properties (if not disabled using   ?EmailStartingBuilder#ignoringDefaults() EmailStartingBuilde?ignoringDefault??.

    Note: Any builder method called after this will override the default value.startingBlan?   A new?  EmailStartingBuilde? EmailStartingBuilde?? to further populate the email with. ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.clearEmailOverrides() Makes the reference? cod?Emai?? instance null, meaning no overrides will be applied.clearEmailOverride?    ? #withEmailOverrides(Email? ?Emai?org.simplejavamail.api.mailer.MailerGenericBuilderwithEmailOverride???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetConnectionPoolExpireAfterMillis() ?Resets connection pool expire-after-milliseconds property to its default (?org.simplejavamail.api.mailer.MailerGenericBuilder?DEFAULT_CONNECTIONPOOL_EXPIREAFTER_MILLIS?).

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.?resetConnectionPoolExpireAfterMillis    ? ?#withConnectionPoolExpireAfterMillis(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilder?withConnectionPoolExpireAfterMillis??public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withDispositionNotificationTo() ?Indicates that we want to use the NPM flag  cod?dispositionNotificationT??. The actual address will default to the  cod?replyToRecipien? first if set or else? cod?fromRecipien?? (the final address is determined when sending this email).withDispositionNotificationT?    ? ?#withDispositionNotificationTo(Recipient) ?Recipien??org.simplejavamail.api.email.EmailPopulatingBuilderwithDispositionNotificationT???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.to(java.lang.String,java.lang.String) Delegates to?  ?#withRecipients(String, boolean, Collection, Message.RecipientType) ?Strin?boolea?Collectio?Message.RecipientTyp?org.simplejavamail.api.email.EmailPopulatingBuilderwithRecipient??, with recipientType=  Message.RecipientType#T? Message.RecipientTyp?T?? and fixedName=true assigning or overwriting existing names with the provided name.t?  ?java.lang.Strin?java.lang.Strin?nam?  ??The optional name of the TO receiver(s) of the email. If multiples addresses are provided, all addresses will be in this same name.nam?oneOrMoreAddresse?  ??Single RFC2822 address or delimited list of RFC2822 addresses of TO receiver(s). Any names included are ignored if a name was provided. Examples:

    oneOrMoreAddresse?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImageBaseClassPath(java.lang.String) ??Sets the classpath base used when resolving images sources in HTML text. Without this, the resource needs to be an absolute path (or a file/url resource).

    Generally you would manually use src="cid:image_name", but files and url's will be located as well dynamically.withEmbeddedImageBaseClassPat?  ?java.lang.Strin?embeddedImageBaseClassPat?  ??The classpath base used when resolving images sources in HTML text.embeddedImageBaseClassPat?  ? ?#withEmbeddedImageAutoResolutionForClassPathResources(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?withEmbeddedImageAutoResolutionForClassPathResources? ?#allowingEmbeddedImageOutsideBaseClassPath(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?allowingEmbeddedImageOutsideBaseClassPath??public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.forwarding(jakarta.mail.internet.MimeMessage) ?Primes the email to be build with proper subject and include the forwarded email as "message/rfc822" bodypart (valid RFC forward).

    Note 1: replaces subject with "Fwd: <original subject>" (nesting enabled).
    Note 2:  cod?Content-Dispositio?? will be left empty so the receiving email client can decide how to handle display (most will show inline, some will show as attachment instead).forwardin?  ??jakarta.mail.internet.MimeMessagemessag?  ??The message to be included in the new forwarding email.messag?  ? ?https://javaee.github.io/javamail/FAQ#forward?Official JavaMail FAQ on forwarding? ?https://blogs.technet.microsoft.com/exchange/2011/04/21/mixed-ing-it-up-multipartmixed-messages-and-you/More reading materia?? #forwarding(Email? ?Emai?org.simplejavamail.api.email.EmailStartingBuilderforwardin???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.appendTextHTML(java.io.File) Delegates to?  #appendTextHTML(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderappendTextHTM??.appendTextHTM?  ?java.io.Fil?textHTMLFil?  ??The HTML text to append to whatever is already there in the body.textHTMLFil?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.signWithSmime(java.io.File,java.lang.String,java.lang.String,java.lang.String,java.lang.String) Delegates to?  ?#signWithSmime(SmimeSigningConfig) ?SmimeSigningConfi?org.simplejavamail.api.email.EmailPopulatingBuildersignWithSmim??.

    Note: this only works in combination with the ?org.simplejavamail.internal.modules.SMIMEModuleNAM??.signWithSmim?  ?java.io.Fil?java.lang.Strin?java.lang.Strin?java.lang.Strin?java.lang.Strin?pkcs12StoreFil?  ??The key store file to use to find the indicated keypkcs12StoreFil?storePasswor?  ?The store's passwor?storePasswor?keyAlia?  ??The name of the certificate in the key store to usekeyAlia?keyPasswor?  ?The password of the certificat?keyPasswor?signatureAlgorith?  ?The signature algorithm to use for signing. If omitted, the default algorithm is used. See   SmimeSigningConfi? SmimeSigningConfi? for details?signatureAlgorith?  ? SmimeSigningConfi? SmimeSigningConfi???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.ignoringDefaults(boolean) ??Indicates that when the email is sent, no default values whatsoever should be applied to the email.ignoringDefault?  ?boolea?ignoreDefault?  ??Whether to ignore all default values or not for this email.ignoreDefault?  ? ?#dontApplyDefaultValueFor(EmailProperty...) ?EmailProperty..??org.simplejavamail.api.email.EmailPopulatingBuilderdontApplyDefaultValueFo?? ?org.simplejavamail.api.mailer.MailerRegularBuilder#withEmailDefaults(Email) ?Emai?org.simplejavamail.api.mailer.MailerRegularBuilderwithEmailDefault???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetExecutorService() ?Resets the executor services to be used back to the default, created by the Batch module if loaded, or else   ?Executors#newSingleThreadExecutor() Executor?newSingleThreadExecuto??.

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.resetExecutorServic?    ? ?#withExecutorService(ExecutorService) ?ExecutorServic?org.simplejavamail.api.mailer.MailerGenericBuilderwithExecutorServic?? ?Batch module's NonJvmBlockingThreadPoolExecutor ?org.simplejavamail.api.mailer.MailerGenericBuilder???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.disablingAllClientValidation(java.lang.Boolean) ?Controls whether there will be any client-sided validation, including email address validation and CRLF injection attack detection (which will be warning instead).

    If set to  cod?tru??, this silences the client completely and just delegates all responsibility of correctness/security to the server.disablingAllClientValidatio?  ?java.lang.Boolea?disableAllClientValidatio?  ?Enables or disables client-side email address validation (if configured) and CRLF injection scans. Default set to ?org.simplejavamail.api.mailer.MailerGenericBuilder?DEFAULT_DISABLE_ALL_CLIENTVALIDATION?.disableAllClientValidatio?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.replyingToAll(jakarta.mail.internet.MimeMessage,java.lang.String) Delegates to?  ?#replyingTo(MimeMessage, boolean, String) ?MimeMessag?boolea?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? with replyToAll set to true.replyingToAl?  ??jakarta.mail.internet.MimeMessagejava.lang.Strin?messag?  ??The email to include as replied-to-email and who's receivers all will receive the new reply email.messag?customQuotingTemplat?  ?HTML quoting template that should be used in the reply. Should include the substring  cod?"%s??, or else the original email is not embedded in the reply.customQuotingTemplat?  ? #DEFAULT_QUOTING_MARKU? ?org.simplejavamail.api.email.EmailStartingBuilderDEFAULT_QUOTING_MARKU???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withHTMLText(java.lang.String) ??Sets the optional email message body in HTML text.

    Both text and HTML can be provided, which will be offered to the email client as alternative content. Email clients that support it, will favor HTML over plain text and ignore the text body completely.withHTMLTex?  ?java.lang.Strin?textHTM?  ??HTML text to set as email body (overwrites any previous HTML text body). If no HTML body is included, plain text would be used instead by the email client if provided.textHTM?  ? #withHTMLText(File? ?Fil?org.simplejavamail.api.email.EmailPopulatingBuilderwithHTMLTex?? #prependTextHTML(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderprependTextHTM?? #appendTextHTML(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderappendTextHTM???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withHTMLText(java.io.File) Delegates to?  #withHTMLText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithHTMLTex??.withHTMLTex?  ?java.io.Fil?textHTMLFil?  ??HTML text to set as email body (overwrites any previous HTML text body). If no HTML body is included, plain text would be used instead by the email client if provided.textHTMLFil?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.cc(java.lang.String,java.lang.String) Delegates to?  ?#withRecipients(String, boolean, Collection, Message.RecipientType) ?Strin?boolea?Collectio?Message.RecipientTyp?org.simplejavamail.api.email.EmailPopulatingBuilderwithRecipient??, with recipientType=  Message.RecipientType#C? Message.RecipientTyp?C?? and fixedName=true assigning or overwriting existing names with the provided name.c?  ?java.lang.Strin?java.lang.Strin?nam?  ??The optional name of the CC receiver(s) of the email. If multiples addresses are provided, all addresses will be in this same name.nam?oneOrMoreAddresse?  ??Single RFC2822 address or delimited list of RFC2822 addresses of CC receiver(s). Any names included are ignored if a name was provided. Examples:

    oneOrMoreAddresse?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withReturnReceiptTo()  ?Indicates that we want to use the flag  cod?returnReceiptT??. The actual address will default to the  cod?replyToRecipien? first if set or else? cod?fromRecipien?? (the final address is determined when sending the email).

    For more detailed information, refer to   #withReturnReceiptTo(Recipient? ?Recipien??org.simplejavamail.api.email.EmailPopulatingBuilderwithReturnReceiptT??.withReturnReceiptT?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearHeaders() ??Resets headers to empty.clearHeader?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.allowingEmbeddedImageOutsideBaseDir(boolean) ??Dictates whether files will be resolved for embedded images when they are not nested under the baseDir (if baseDir is set).?allowingEmbeddedImageOutsideBaseDir  ?boolea?allowEmbeddedImageOutsideBaseDi?  ??Whether files should be resolved that reside outside the baseDir (if set)allowEmbeddedImageOutsideBaseDi?  ? ?#withEmbeddedImageAutoResolutionForFiles(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?withEmbeddedImageAutoResolutionForFiles? ?#withEmbeddedImageBaseDir(String) ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseDi???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withProperty(java.lang.String,java.lang.Object) ??Sets property or removes it if the provided value is null. If provided, the value is always converted toString().withPropert?  ?java.lang.Strin?java.lang.Objec?propertyNam?  ??The name of the property that wil be set on the internal Session object.propertyNam?propertyValu?  ??The text value of the property that wil be set on the internal Session object.propertyValu?  ? #withProperties(Properties? ?Propertie?org.simplejavamail.api.mailer.MailerGenericBuilderwithPropertie?? #clearProperties(? ?org.simplejavamail.api.mailer.MailerGenericBuilderclearPropertie???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withDebugLogging(java.lang.Boolean) ?This flag is set on the Session instance through   Session#setDebug(boolean? ?boolea?Sessio?setDebu?? so that it generates debug information. To get more information out of the underlying JavaMail framework or out of Simple Java Mail, increase logging config of your chosen logging-framework.withDebugLoggin?  ?java.lang.Boolea?debugLoggin?  ?Enables or disables debug logging with  cod?tru? or? cod?fals??.debugLoggin?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetDisableAllClientValidations() Reverts to default value ??org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_VERIFY_SERVER_IDENTIT??' for the behaviour of disabling client-sided validations (email addresses and CRLF injection scanning).resetDisableAllClientValidation?    ? ?#disablingAllClientValidation(Boolean) ?Boolea?org.simplejavamail.api.mailer.MailerGenericBuilderdisablingAllClientValidatio???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.clearProxy() ?Empties all proxy configuration?clearProx?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearSmime() ?For signing and encrypting this email when sending, resets all S/MIME properties to empty.

    Note: this only works in combination with the ?org.simplejavamail.internal.modules.SMIMEModuleNAM??.clearSmim?    ? ?#signWithSmime(SmimeSigningConfig) ?SmimeSigningConfi?org.simplejavamail.api.email.EmailPopulatingBuildersignWithSmim?? ?#encryptWithSmime(SmimeEncryptionConfig) ?SmimeEncryptionConfi?org.simplejavamail.api.email.EmailPopulatingBuilderencryptWithSmim???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.notMergingSingleSMIMESignedAttachment() ?When the S/MIME module is loaded, S/MIME signed / encrypted attachments are decrypted and kept in a separate list. However, if it is a single attachment and the actual attachment has mimetype "message/rfc822", it is assumed to be the message itself and by default will be merged with the top level email (basically overriding body, headers and attachments).
    This API disables this behavior and stricly keeps all attachments as-is (still decrypted, but not merged with the email).

    Note: this only works in combination with the ?org.simplejavamail.internal.modules.SMIMEModuleNAM??.?notMergingSingleSMIMESignedAttachment    ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetTransportModeLoggingOnly() ?Resets transportModeLoggingOnly to ?org.simplejavamail.api.mailer.MailerGenericBuilder?DEFAULT_TRANSPORT_MODE_LOGGING_ONLY?.resetTransportModeLoggingOnl?    ? ?#withTransportModeLoggingOnly(Boolean) ?Boolea?org.simplejavamail.api.mailer.MailerGenericBuilderwithTransportModeLoggingOnl???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearEmbeddedImageBaseDir() ?Resets base dir for embedded images to  cod?nul??.clearEmbeddedImageBaseDi?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withBounceTo(java.lang.String,java.lang.String) Delegates to?  #withBounceTo(Recipient? ?Recipien??org.simplejavamail.api.email.EmailPopulatingBuilderwithBounceT? with a new?  Recipien? Recipien?? wrapped around the given name and email address.withBounceT?  ?java.lang.Strin?java.lang.Strin?nam?  ??Name of the receiver of the bounced emailnam?bounceToAddres?  ??The address of the receiver of the bounced emailbounceToAddres?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withMaximumEmailSize(int) ?Sets a maximum size for emails (as MimeMessage) in bytes. If an email exceeds this size, exception @  EmailTooBigExceptio? EmailTooBigExceptio? will be thrown (as the cause)?withMaximumEmailSiz?  ?in?maximumEmailSiz?  ??Maximum size of an email (as MimeMessage) in bytes.maximumEmailSiz?  ? #clearMaximumEmailSize(? ?org.simplejavamail.api.mailer.MailerGenericBuilderclearMaximumEmailSiz???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.clearEmailValidator() ??Makes the email validator null, meaning validation won't take place.clearEmailValidato?    ? ?#withEmailValidator(EmailValidator) ?EmailValidato?org.simplejavamail.api.mailer.MailerGenericBuilderwithEmailValidato?? #resetEmailValidator(? ?org.simplejavamail.api.mailer.MailerGenericBuilderresetEmailValidato???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.appendText(java.io.File) Delegates to?  #appendText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderappendTex??.appendTex?  ?java.io.Fil?textFil?  ??The plain text to append to whatever plain text is already there.textFil?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withReturnReceiptTo(java.lang.String,java.lang.String) Delegates to?  #withReturnReceiptTo(Recipient? ?Recipien??org.simplejavamail.api.email.EmailPopulatingBuilderwithReturnReceiptT? with a new?  Recipien? Recipien?? wrapped around the provided name and address.withReturnReceiptT?  ?java.lang.Strin?java.lang.Strin?nam?  ??Name of the receiver of the receipt notificationnam?addres?  ??The address of the receiver of the receipt notificationaddres?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearId() ?Resets id to empty?clearI?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImageAutoResolutionForFiles(boolean) ?Enables auto resolution of file datasources for embedded images.

    Normally, you would manually mark up your HTML with images using  cod?cid:cid.?withEmbeddedImageAutoResolutionForFiles  ?boolea??embeddedImageAutoResolutionForFiles  ??Enables auto resolution of file datasources for embedded images.?embeddedImageAutoResolutionForFiles  ? ?#withEmbeddedImageBaseDir(String) ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseDi?? ?#allowingEmbeddedImageOutsideBaseDir(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?allowingEmbeddedImageOutsideBaseDir??public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetConnectionPoolMaxSize() ?Resets connection pool max size to its default (?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_CONNECTIONPOOL_MAX_SIZ??).

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.resetConnectionPoolMaxSiz?    ? ?#withConnectionPoolMaxSize(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithConnectionPoolMaxSiz???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.prependText(java.lang.String) ??Prepends text to the current plain text body (or starts it if plain text body is missing).prependTex?  ?java.lang.Strin?tex?  ??The plain text to prepend to whatever plain text is already there.tex?  ? #prependText(File? ?Fil?org.simplejavamail.api.email.EmailPopulatingBuilderprependTex?? #appendText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderappendTex?? #withPlainText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithPlainTex???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withAttachment(java.lang.String,jakarta.activation.DataSource,java.lang.String) Delegates to?  ?#withAttachment(String, DataSource, String, ContentTransferEncoding) ?Strin?DataSourc?Strin?ContentTransferEncodin?org.simplejavamail.api.email.EmailPopulatingBuilderwithAttachmen?? with no forced content transfer encoding.withAttachmen?  ?java.lang.Strin?jakarta.activation.DataSourc?java.lang.Strin?nam?  ?Optional name of the attachment (e.g. 'filename.ext'). If omitted, the internal name of the datasource is used. If that too is empty, a name will be generated using   java.util.UUI? java.util.UUIĀ?.nam?filedat?  ?The attachment data?filedat?descriptio?  ??An optional description that will find its way in the MimeMEssage with the Content-Description header. This is rarely needed.descriptio?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.prependTextHTML(java.lang.String) ??Prepends HTML text to the current HTML text body (or starts it if HTML text body is missing).prependTextHTM?  ?java.lang.Strin?textHTM?  ??The HTML text to prepend to whatever is already there in the body.textHTM?  ? #prependTextHTML(File? ?Fil?org.simplejavamail.api.email.EmailPopulatingBuilderprependTextHTM?? #appendTextHTML(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderappendTextHTM?? #withHTMLText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithHTMLTex???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetSessionTimeout() ?Resets session time to its default (?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_SESSION_TIMEOUT_MILLI?)?resetSessionTimeou?    ? #withSessionTimeout(Integer? ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithSessionTimeou???public abstract org.simplejavamail.api.mailer.MailerRegularBuilder org.simplejavamail.api.mailer.MailerRegularBuilder.withCustomSSLFactoryClass(java.lang.String) ??Configures the session with the right property to use your own factory for obtaining SSL connections.

    Note 1: Is overridden by custom factory instance if set.

    Note 2: Sets the property mail.smtp.ssl.socketFactory.class on the Session.
    Note 3: This breaks your setup if you also use authenticated proxy.withCustomSSLFactoryClas?  ?java.lang.Strin?factoryClas?  ??The fully qualified name of the factory class. Example: javax.net.ssl.SSLSocketFactoryfactoryClas?  ? ?https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.htmlJava / Jakarta Mail propertie?? ?#withCustomSSLFactoryInstance(SSLSocketFactory) ?SSLSocketFactor??org.simplejavamail.api.mailer.MailerRegularBuilderwithCustomSSLFactoryInstanc???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetThreadPoolKeepAliveTime() ?Resets thread pool keepAliveTime to its default (?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_POOL_KEEP_ALIVE_TIM??).

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.resetThreadPoolKeepAliveTim?    ? ?#withThreadPoolKeepAliveTime(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithThreadPoolKeepAliveTim???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withReplyTo(java.lang.String,java.lang.String) Delegates to?  #withReplyTo(Recipient? ?Recipien??org.simplejavamail.api.email.EmailPopulatingBuilderwithReplyT? with a new?  Recipien? Recipien?? wrapped around the given fixed name and email address.withReplyT?  ?java.lang.Strin?java.lang.Strin?fixedNam?  ??Optional name that receivers will get when they reply to the email.fixedNam?replyToAddres?  ??The address that receivers will get when they reply to the email. Any name included in the address will be ignored.replyToAddres?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetVerifyingServerIdentity() ?Reset verifying the server's identity to ?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_VERIFY_SERVER_IDENTIT??.resetVerifyingServerIdentit?    ? ?#verifyingServerIdentity(boolean) ?boolea?org.simplejavamail.api.mailer.MailerGenericBuilderverifyingServerIdentit?? #trustingSSLHosts(String...? ?String..??org.simplejavamail.api.mailer.MailerGenericBuildertrustingSSLHost?? #trustingAllHosts(boolean? ?boolea?org.simplejavamail.api.mailer.MailerGenericBuildertrustingAllHost???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearOverrideReceivers() ??Resets overrideReceivers to empty.clearOverrideReceiver?    ? #withOverrideReceivers(List? ?Lis??org.simplejavamail.api.email.EmailPopulatingBuilderwithOverrideReceiver???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.replyingTo(jakarta.mail.internet.MimeMessage,boolean,java.lang.String) ?Primes the email with subject, quoted content, headers, originally embedded images and recipients needed for a valid RFC reply.

    Note 1: replaces subject with "Re: <original subject>" (but never nested).
    Note 2: always sets both plain text and HTML text, so if you update the content body, be sure to update HTML as well.
    Note 3: sets body content: text is replaced with  cod?"> text?? and HTML is replaced with the provided (or default) quoting markup (add your own content with   ?EmailPopulatingBuilder#prependText(String) ?Strin?EmailPopulatingBuilde?prependTex? and?  ?EmailPopulatingBuilder#prependTextHTML(String) ?Strin?EmailPopulatingBuilde?prependTextHTM?)?replyingT?  ??jakarta.mail.internet.MimeMessageboolea?java.lang.Strin?emailMessag?  ??The message from which we harvest recipients, original content to quote (including embedded images), message ID to include.emailMessag?repyToAl?  ?Indicates whether all original receivers should be included in this new reply. Also see   ? MimeMessage#reply(boolean) ?org.simplejavamail.api.email.EmailStartingBuilder??.repyToAl?htmlTemplat?  ?HTML quoting template that should be used in the reply. Should contain the substring  cod?"%s??. Be advised that HTML is very limited in emails.htmlTemplat?  ? #replyingTo(Email? ?Emai?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? #replyingTo(Email, String? ?Emai?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? #replyingTo(MimeMessage? ?MimeMessag?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? #replyingTo(MimeMessage, String? ?MimeMessag?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? #replyingToAll(Email? ?Emai?org.simplejavamail.api.email.EmailStartingBuilderreplyingToAl?? #replyingToAll(Email, String? ?Emai?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingToAl?? #replyingToAll(MimeMessage? ?MimeMessag?org.simplejavamail.api.email.EmailStartingBuilderreplyingToAl?? ?#replyingToAll(MimeMessage, String) ?MimeMessag?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingToAl?? ?https://javaee.github.io/javamail/FAQ#reply?Official JavaMail FAQ on replying? MimeMessage#reply(boolean? ?boolea?MimeMessag?repl???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withClusterKey(java.util.UUID) ?By defining a clusterKey, you can form clusters where other   Maile? Maile?? instances represent individual connection pools within the same cluster. Having multiple mailers using the same clusterKey means those mailes form a cluster where mail-send action are rotated over connection pools stemming from these mailer instances (this has implications for mailers defining connections differently from eachother, see documentation).

    By default, a cluster key is uniquely generated, so for a single new mailer a new cluster is always generated, thus effectively nothing is clustered.withClusterKe?  ?java.util.UUI?clusterKe?  ?See main description?clusterKe?  ? ?https://www.simplejavamail.org/configuration.html#section-batch-and-clusteringClustering with Simple Java Mai???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.trustingAllHosts(boolean) ?Configures the current session to trust all hosts. Defaults to true, but this allows you to whitelist only certain hosts.

    Note that this is not the same as server identity verification, which is enabled through   ?#verifyingServerIdentity(boolean) ?boolea?org.simplejavamail.api.mailer.MailerGenericBuilderverifyingServerIdentit??. It would be prudent to have at least one of these features turned on, lest you be vulnerable to man-in-the-middle attacks.trustingAllHost?  ?boolea?trustAllHost?  ?See main description?trustAllHost?  ? ?https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html#mail.smtp.ssl.trustmail.smtp.ssl.trus?? #trustingSSLHosts(String...? ?String..??org.simplejavamail.api.mailer.MailerGenericBuildertrustingSSLHost?? ?https://www.oracle.com/technetwork/java/sslnotes-150073.txt?Notes for use of SSL with JavaMail??public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImageBaseUrl(java.net.URL) ??Sets the base URL used when resolving images sources in HTML text. Without this, the resource needs to be an absolute URL (or a file/classpath resource).

    Generally you would manually use src="cid:image_name", but files and url's will be located as well dynamically.withEmbeddedImageBaseUr?  ?java.net.UR?embeddedImageBaseUr?  ??The base URL used when resolving images sources in HTML text.embeddedImageBaseUr?  ? ?#withEmbeddedImageAutoResolutionForURLs(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?withEmbeddedImageAutoResolutionForURLs? ?#allowingEmbeddedImageOutsideBaseUrl(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?allowingEmbeddedImageOutsideBaseUrl??public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withConnectionPoolMaxSize(java.lang.Integer)  ?Configures the connection pool's max size (default ?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_CONNECTIONPOOL_MAX_SIZ??) in case of high thread contention. Note that this determines how many connections can be open at any one time to a single server. Make sure your server can handle the load coming from all connections. There's no point having a hundred concurrent connections if it degrades your server's performance because of CPU throttling and network congestion.

    In addition, if your server makes connections wait, it means threads will be waiting on the   jakarta.mail.Transpor? jakarta.mail.Transpor?? instance to start their work load, instead of threads being blocked on a claim for an available  cod?Transpor?? instance. In other words: by having an oversized connection pool, you inadvertently bypass the blocking claim mechanism of the connection pool and wait on the Transport directly instead.

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.withConnectionPoolMaxSiz?  ?java.lang.Intege?connectionPoolMaxSiz?  ?See main description?connectionPoolMaxSiz?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withConnectionPoolExpireAfterMillis(java.lang.Integer) If? cod?>??, configures the connection pool to automatically close connections after some milliseconds (default ?org.simplejavamail.api.mailer.MailerGenericBuilder?DEFAULT_CONNECTIONPOOL_EXPIREAFTER_MILLIS?) since last usage.

    Note that if you combine this with   ?#withConnectionPoolCoreSize(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithConnectionPoolCoreSiz? also? cod?>? (default is??org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_CONNECTIONPOOL_CORE_SIZ??), connections will keep closing and opening to keep core pool populated until shut down.

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.?withConnectionPoolExpireAfterMillis  ?java.lang.Intege?connectionPoolExpireAfterMilli?  ?See main description?connectionPoolExpireAfterMilli?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetConnectionPoolLoadBalancingStrategy() ?Resets connection pool load balancing strategy to its default (?org.simplejavamail.api.mailer.MailerGenericBuilder?DEFAULT_CONNECTIONPOOL_LOADBALANCING_STRATEGY?).

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.?resetConnectionPoolLoadBalancingStrategy    ? ?#withConnectionPoolLoadBalancingStrategy(LoadBalancingStrategy) ?LoadBalancingStrateg??org.simplejavamail.api.mailer.MailerGenericBuilder?withConnectionPoolLoadBalancingStrategy??public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.allowingEmbeddedImageOutsideBaseUrl(boolean) ??Dictates whether url's will be resolved for embedded images when they are not nested under the baseUrl (if baseUrl is set).?allowingEmbeddedImageOutsideBaseUrl  ?boolea?allowEmbeddedImageOutsideBaseUr?  ??Whether url's should be resolved that reside outside the baseUrl (if set)allowEmbeddedImageOutsideBaseUr?  ? ?#withEmbeddedImageAutoResolutionForURLs(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?withEmbeddedImageAutoResolutionForURLs? ?#withEmbeddedImageBaseUrl(String) ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseUr?? #withEmbeddedImageBaseUrl(URL? ?UR̴org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseUr???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withAttachment(java.lang.String,jakarta.activation.DataSource) Delegates to?  ?#withAttachment(String, DataSource, String, ContentTransferEncoding) ?Strin?DataSourc?Strin?ContentTransferEncodin?org.simplejavamail.api.email.EmailPopulatingBuilderwithAttachmen?? with null-description and no forced content transfer encoding.withAttachmen?  ?java.lang.Strin?jakarta.activation.DataSourc?nam?  ?Optional name of the attachment (e.g. 'filename.ext'). If omitted, the internal name of the datasource is used. If that too is empty, a name will be generated using   java.util.UUI? java.util.UUIĀ?.nam?filedat?  ?The attachment data?filedat?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImageAutoResolutionForURLs(boolean) ?Enables auto resolution of URL's for embedded images.

    Normally, you would manually mark up your HTML with images using  cod?cid:cid.?withEmbeddedImageAutoResolutionForURLs  ?boolea??embeddedImageAutoResolutionForURLs  ??Enables auto resolution of URL's for embedded images.?embeddedImageAutoResolutionForURLs  ? ?#withEmbeddedImageBaseUrl(String) ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseUr?? #withEmbeddedImageBaseUrl(URL? ?UR̴org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseUr?? ?#allowingEmbeddedImageOutsideBaseUrl(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?allowingEmbeddedImageOutsideBaseUrl??public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.async() ?Changes the default for sending emails and testing server connections to asynchronous (batch mode).

    In case of asynchronous mode, make sure you configure logging to file or inspect the returned   ?java.util.concurrent.CompletableFuture ?java.util.concurrent.CompletableFuture??.

    Note that you can configure a couple of concurrency properties such as thread pool size, keepAlivetime, connection pool size (or even a cluster) etc.

    Note: without configuring a thread pool (see   ?#withExecutorService(ExecutorService) ?ExecutorServic?org.simplejavamail.api.mailer.MailerGenericBuilderwithExecutorServic? o?asyn?    ? ?#withExecutorService(ExecutorService) ?ExecutorServic?org.simplejavamail.api.mailer.MailerGenericBuilderwithExecutorServic?? #withThreadPoolSize(Integer? ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithThreadPoolSiz?? ?#withThreadPoolKeepAliveTime(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithThreadPoolKeepAliveTim?? ?#withConnectionPoolCoreSize(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithConnectionPoolCoreSiz?? ?#withConnectionPoolMaxSize(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithConnectionPoolMaxSiz?? ?#withConnectionPoolExpireAfterMillis(Integer) ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilder?withConnectionPoolExpireAfterMillis??public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImage(java.lang.String,jakarta.activation.DataSource) ?Adds image data to this email that can be referred to from the email HTML body. For adding images as attachment, refer to   ? #withAttachment(String, DataSource) ?org.simplejavamail.api.email.EmailPopulatingBuilder? instead.

    The provided?  DataSourc? DataSourc?? is assumed to be of mimetype png, jpg or whatever the email client supports as valid image embedded in HTML content.withEmbeddedImag?  ?java.lang.Strin?jakarta.activation.DataSourc?nam?  ??The name of the image as being referred to from the message content body (e.g. 'src="cid:yourImageName"'). If not provided, the name of the given data source is used instead.nam?imagedat?  ?The image data?imagedat?  ? ?EmailPopulatingBuilder#withEmbeddedImage(String, byte[], String) ?Strin?byte[?Strin?EmailPopulatingBuilde?withEmbeddedImag?? ?EmailPopulatingBuilder#withEmbeddedImages(List) ?Lis?EmailPopulatingBuilde?withEmbeddedImage???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.replyingTo(jakarta.mail.internet.MimeMessage,java.lang.String) Delegates to?  ?#replyingTo(MimeMessage, boolean, String) ?MimeMessag?boolea?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? with replyToAll set to false.replyingT?  ??jakarta.mail.internet.MimeMessagejava.lang.Strin?messag?  ??MimeMessage to reply to with new email.messag?customQuotingTemplat?  ?HTML quoting template that should be used in the reply. Should include the substring  cod?"%s??, or else the original email is not embedded in the reply.customQuotingTemplat?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearEmbeddedImageBaseClassPath() ?Resets classpath base for embedded images to  cod?nul??.clearEmbeddedImageBaseClassPat?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearAttachments() ??Resets attachments to empty.clearAttachment?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearPlainText() ?Resets text to empty?clearPlainTex?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearSMIMESignedAttachmentMergingBehavior() ?When readig and converting an email, this flag makes the behavior revert to the default merging behavior for single S/MIME signed attachments, which is that it is merged into the root message.

    This can be useful when copying an   Emai? Emai?? that was merged (default behavior), to unmerge it.

    Note: this only works in combination with the ?org.simplejavamail.internal.modules.SMIMEModuleNAM??.?clearSMIMESignedAttachmentMergingBehavior    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImageBaseDir(java.lang.String) ??Sets the base folder used when resolving images sources in HTML text. Without this, the folder needs to be an absolute path (or a classpath/url resource).

    Generally you would manually use src="cid:image_name", but files and url's will be located as well dynamically.withEmbeddedImageBaseDi?  ?java.lang.Strin?embeddedImageBaseDi?  ??The base folder used when resolving images sources in HTML text.embeddedImageBaseDi?  ? ?#withEmbeddedImageAutoResolutionForFiles(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?withEmbeddedImageAutoResolutionForFiles? ?#allowingEmbeddedImageOutsideBaseDir(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?allowingEmbeddedImageOutsideBaseDir??public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withConnectionPoolClaimTimeoutMillis(java.lang.Integer) If? cod?>??, configures the connection pool to wait for a limited time after which the attempt to claim a Transport connection errors out. The default is to wait indefinately until a connection becomes available in the pool.

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.?withConnectionPoolClaimTimeoutMillis  ?java.lang.Intege?connectionPoolClaimTimeoutMilli?  ?See main description?connectionPoolClaimTimeoutMilli?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearCalendarText() ??Resets calendarText to empty.clearCalendarTex?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.fixingSentDate(java.util.Date) ??When an email is sent it is converted to a MimeMessage at which time the sent-date is filled with the current date. With this method this can be fixed to a date of choice.

    Note: the sent date is user-controlled. Only when converting an email, Simple Java Mail might fill the sent-date.fixingSentDat?  ?java.util.Dat?sentDat?  ?The date to use as sent date?sentDat?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.copying(jakarta.mail.internet.MimeMessage) Delegates to?  #copying(Email? ?Emai?org.simplejavamail.api.email.EmailStartingBuildercopyin??, by converting the provided message first.copyin?  ??jakarta.mail.internet.MimeMessagemessag?  ?The MimeMessage email to convert and copy to new   Emai? Emai??.messag?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withEmbeddedImageAutoResolutionForClassPathResources(boolean) ?Enables auto resolution of classpath datasources for embedded images.

    Normally, you would manually mark up your HTML with images using  cod?cid:cid.?withEmbeddedImageAutoResolutionForClassPathResources  ?boolea??embeddedImageAutoResolutionForClassPathResources  ??Enables auto resolution of classpath datasources for embedded images.?embeddedImageAutoResolutionForClassPathResources  ? ?#withEmbeddedImageBaseClassPath(String) ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseClassPat?? ?#allowingEmbeddedImageOutsideBaseClassPath(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?allowingEmbeddedImageOutsideBaseClassPath??public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetThreadPoolSize() ?Resets max thread pool size to its default of ?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_POOL_SIZ??.

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.resetThreadPoolSiz?    ? #withThreadPoolSize(Integer? ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithThreadPoolSiz???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearSentDate() ??Clears the fixed sent-date so that the current date is used again at the time of sending.clearSentDat?    ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.clearEmailDefaults() Makes the reference? cod?Emai?? instance null, meaning no defaults will be applied.clearEmailDefault?    ? #withEmailDefaults(Email? ?Emai?org.simplejavamail.api.mailer.MailerGenericBuilderwithEmailDefault???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withHeader(java.lang.String,java.lang.Object) Delegates to?  ?#withHeader(String, Object, boolean) ?Strin?Objec?boolea?org.simplejavamail.api.email.EmailPopulatingBuilderwithHeade?? with replaceHeader set to  cod?fals??.withHeade?  ?java.lang.Strin?java.lang.Objec?nam?  ??The name of the header. Example: withHeader("X-Priority", 2)nam?valu?  ?The value of the header, which will be stored using   String#valueOf(Object? ?Objec?Strin?valueO??.valu?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.from(java.lang.String,java.lang.String) Delegates to?  #from(Recipient? ?Recipien??org.simplejavamail.api.email.EmailPopulatingBuilderfro? with a new?  Recipien? Recipien?? wrapped around the given name and email address.fro?  ?java.lang.Strin?java.lang.Strin?nam?  ??The name that will be visible to the receivers of this email.nam?fromAddres?  ??The address that will be visible to the receivers of this email.fromAddres?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.fixingMessageId(java.lang.String) ??Sets optional ID to a fixed value, which is otherwise generated by the underlying JavaMail framework when sending the email.

    Note 1: ID is user-controlled. Only when converting an email, Simple Java Mail might fill the sent-date.
    Note 2: The id-format should conform to rfc5322#section-3.6.4fixingMessageI?  ?java.lang.Strin?i?  The mime message id, example:? cod?<123@456?i?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.allowingEmbeddedImageOutsideBaseClassPath(boolean) ??Dictates whether sources will be resolved for embedded images when they are not nested under the baseClassPath (if baseClassPath is set).?allowingEmbeddedImageOutsideBaseClassPath  ?boolea??allowEmbeddedImageOutsideBaseClassPath  ??Whether image sources should be resolved that reside outside the baseClassPath (if set)?allowEmbeddedImageOutsideBaseClassPath  ? ?#withEmbeddedImageAutoResolutionForClassPathResources(boolean) ?boolea?org.simplejavamail.api.email.EmailPopulatingBuilder?withEmbeddedImageAutoResolutionForClassPathResources? ?#withEmbeddedImageBaseClassPath(String) ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithEmbeddedImageBaseClassPat???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearSubject() ??Resets subject to empty.clearSubjec?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.embeddedImageAutoResolutionMustBeSuccesful(boolean) ??When embedded image auto resolution is enabled, this option will make sure unresolved images sources result in an exception.

    Not using this option effectively means a more lenient approach to image sources.

    Note: It also allows you to work with URL's as image sources that can't be resolved at time of sending, but that makes sense when viewing the email in some client (e.g. relative url's).?embeddedImageAutoResolutionMustBeSuccesful  ?boolea??embeddedImageAutoResolutionMustBeSuccesful  ??Whether auto resolution is enforced and bubbles up failure to do so.?embeddedImageAutoResolutionMustBeSuccesful  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withConnectionPoolCoreSize(java.lang.Integer) ?Configures the connection pool's core size (default ?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_CONNECTIONPOOL_CORE_SIZ??), which means the SMTP connection pool will keep X connections open at all times until shut down. Note that this also means that if you configure an auto-expiry timeout, these connections die off and new ones are created immediately to maintain core size.

    Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.withConnectionPoolCoreSiz?  ?java.lang.Intege?connectionPoolCoreSiz?  ?See main description?connectionPoolCoreSiz?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearContentTransferEncoding() ?Resets contentTransferEncoding to   ?ContentTransferEncoding#QUOTED_PRINTABLE ContentTransferEncodin?QUOTED_PRINTABL??.clearContentTransferEncodin?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.withCalendarText(org.simplejavamail.api.email.CalendarMethod,java.lang.String) ?Sets the optional calendar details that clients such as Outlook might be able to handle. Will be set as alternative bodypart similar to   #withPlainText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithPlainTex? and?  #withHTMLText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithHTMLTex??.withCalendarTex?  ??org.simplejavamail.api.email.CalendarMethodjava.lang.Strin?calendarMetho?  ?An RFC-2446 VEVENT calendar component method. Example:  cod??PUBLISH, REQUEST, REPLY, ADD, CANCEL, REFRESH, COUNTER, DECLINECOUNTERcalendarMetho?textCalenda?  ??free form text, which you can produce with a library such as ical4j.textCalenda?  ??The Test demo app in Simple Java Mail's source for a working example.?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.encryptWithSmime(java.io.File,java.lang.String,java.lang.String) Delegates to?  ?#encryptWithSmime(SmimeEncryptionConfig) ?SmimeEncryptionConfi?org.simplejavamail.api.email.EmailPopulatingBuilderencryptWithSmim?? using the provided PEM file.

    Note: this only works in combination with the ?org.simplejavamail.internal.modules.SMIMEModuleNAM??.encryptWithSmim?  ?java.io.Fil?java.lang.Strin?java.lang.Strin?pemFil?  ??The recipient's public key to use for encryption.pemFil?keyEncapsulationAlgorith?  ?The key encapsulation algorithm to use for encryption. See   SmimeEncryptionConfi? SmimeEncryptionConfi? for available values?keyEncapsulationAlgorith?cipherAlgorith?  ?The cipher algorithm to use for encryption. See   SmimeEncryptionConfi? SmimeEncryptionConfi? for available values?cipherAlgorith?  ? SmimeEncryptionConfi? SmimeEncryptionConfi???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.prependText(java.io.File) Delegates to?  #prependText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderprependTex??.prependTex?  ?java.io.Fil?textFil?  ??The plain text to prepend to whatever plain text is already there.textFil?  ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearHTMLText() ??Resets textHTML to empty.clearHTMLTex?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearBounceTo() ??Resets bounceToRecipient to empty.clearBounceT?    ?public abstract org.simplejavamail.api.mailer.MailerRegularBuilder org.simplejavamail.api.mailer.MailerRegularBuilder.withSMTPServer(java.lang.String,java.lang.Integer,java.lang.String,java.lang.String)  Delegates to?  #withSMTPServerHost(String? ?Strin?org.simplejavamail.api.mailer.MailerRegularBuilderwithSMTPServerHos?,?  #withSMTPServerPort(Integer? ?Intege?org.simplejavamail.api.mailer.MailerRegularBuilderwithSMTPServerPor?,?  #withSMTPServerUsername(String? ?Strin?org.simplejavamail.api.mailer.MailerRegularBuilderwithSMTPServerUsernam? and?  #withSMTPServerPassword(String? ?org.simplejavamail.api.mailer.MailerRegularBuilder??.withSMTPServe?  ?java.lang.Strin?java.lang.Intege?java.lang.Strin?java.lang.Strin?hos?  ??Optional host that defaults to pre-configured property if left empty.hos?por?  ??Optional port number that defaults to pre-configured property if left empty.por?usernam?  ??Optional SMTP server username that defaults to pre-configured property if left empty.usernam?passwor?  ??Optional SMTP server password or OAUTH2 token (in case of TransportStrategy.SMTP_OAUTH2) that defaults to pre-configured property if left empty.passwor?  ?public abstract org.simplejavamail.api.mailer.MailerRegularBuilder org.simplejavamail.api.mailer.MailerRegularBuilder.withTransportStrategy(org.simplejavamail.api.mailer.config.TransportStrategy) ??To learn more about the various transport modes, the properties they set and the security implications, please refer to the full TransportStrategy
    javadoc.

    Note: if no server port has been set, a default will be taken based on the transport strategy, since every different connection type uses a different default port.withTransportStrateg?  ??org.simplejavamail.api.mailer.config.TransportStrategytransportStrateg?   ?The name of the transport strategy to use:   TransportStrategy#SMT? TransportStrateg?SMT?,?  TransportStrategy#SMTP? TransportStrateg?SMTP?? or   TransportStrategy#SMTP_TL? TransportStrateg?SMTP_TL?. Defaults to?  TransportStrategy#SMT? TransportStrateg?SMT??.transportStrateg?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withSessionTimeout(java.lang.Integer) ?Controls the timeout to use when sending emails (affects socket connect-, read- and write timeouts).

    Will configure a set of properties on the Session instance with the given value, of which the names depend on the transport strategy:

    •   ?TransportStrategy#propertyNameConnectionTimeout() TransportStrateg?propertyNameConnectionTimeou?
    • fromRecipient to empty.clearFromRecipien?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearDispositionNotificationTo() ??Resets dispositionNotificationTo to empty.clearDispositionNotificationT?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailStartingBuilder.replyingTo(jakarta.mail.internet.MimeMessage) Delegates to?  ?#replyingTo(MimeMessage, boolean, String) ?MimeMessag?boolea?Strin?org.simplejavamail.api.email.EmailStartingBuilderreplyingT?? with replyToAll set to false and a default HTML quoting template.replyingT?  ??jakarta.mail.internet.MimeMessagemessag?  ??MimeMessage to reply to with new email.messag?  ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.withThreadPoolSize(java.lang.Integer) ?Sets max thread pool size to the given size (default is ?org.simplejavamail.api.mailer.MailerGenericBuilderDEFAULT_POOL_SIZ??).

      Note: this is only used in combination with the ?org.simplejavamail.internal.modules.BatchModuleNAM??.withThreadPoolSiz?  ?java.lang.Intege?threadPoolSiz?  ?See main description?threadPoolSiz?  ? #resetThreadPoolSize(? ?org.simplejavamail.api.mailer.MailerGenericBuilderresetThreadPoolSiz?? #withThreadPoolSize(Integer? ?Intege?org.simplejavamail.api.mailer.MailerGenericBuilderwithThreadPoolSiz???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetEmailValidator() Resets the email validator to?  JMail#strictValidator(? JMai?strictValidato??.resetEmailValidato?    ? ?#withEmailValidator(EmailValidator) ?EmailValidato?org.simplejavamail.api.mailer.MailerGenericBuilderwithEmailValidato?? #clearEmailValidator(? ?org.simplejavamail.api.mailer.MailerGenericBuilderclearEmailValidato???public abstract org.simplejavamail.api.email.EmailStartingBuilder org.simplejavamail.api.email.EmailStartingBuilder.ignoringDefaults() ?Configures this builder to create an email ignoring the all defaults from (System) properties, config files or defaults email on Mailer level in the   ?org.simplejavamail.api.mailer.config.EmailGovernance ?org.simplejavamail.api.mailer.config.EmailGovernance??. You can make individual exceptions with *   ?EmailPopulatingBuilder#dontApplyDefaultValueFor(EmailProperty...) ?EmailProperty..?EmailPopulatingBuilde?dontApplyDefaultValueFo??
      Note: This is irrelevant for Email instances used to set on   ?org.simplejavamail.api.mailer.config.EmailGovernance ?org.simplejavamail.api.mailer.config.EmailGovernance?? as defaults or overrides reference.ignoringDefault?    ? ?EmailPopulatingBuilder#dontApplyDefaultValueFor(EmailProperty...) ?EmailProperty..?EmailPopulatingBuilde?dontApplyDefaultValueFo???public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.resetClusterKey() ?Reset the cluster key to empty, so it will be generated uniquely, avoiding clustering with any other   Maile? Maile??.resetClusterKe?    ? #withClusterKey(UUID? ?UUIijorg.simplejavamail.api.mailer.MailerGenericBuilderwithClusterKe???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearRecipients() ??Resets recipients to empty.clearRecipient?    ?public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.clearDkim() ?Resets all dkim properties to empty.

      Note: this only works in combination with the ?org.simplejavamail.internal.modules.DKIMModuleNAM??.clearDki?    ?public abstract org.simplejavamail.api.mailer.MailerGenericBuilder org.simplejavamail.api.mailer.MailerGenericBuilder.clearTrustedSSLHosts() ??Removes all trusted hosts from the list.clearTrustedSSLHost?    ? #trustingSSLHosts(String...? ?String..??org.simplejavamail.api.mailer.MailerGenericBuildertrustingSSLHost?? #trustingAllHosts(boolean? ?boolea?org.simplejavamail.api.mailer.MailerGenericBuildertrustingAllHost?? ?#verifyingServerIdentity(boolean) ?boolea?org.simplejavamail.api.mailer.MailerGenericBuilderverifyingServerIdentit???public abstract org.simplejavamail.api.email.EmailPopulatingBuilder org.simplejavamail.api.email.EmailPopulatingBuilder.appendText(java.lang.String) ??Appends text to the current plain text body (or starts it if plain text body is missing).appendTex?  ?java.lang.Strin?tex?  ??The plain text to append to whatever plain text is already there.tex?  ? #appendText(File? ?Fil?org.simplejavamail.api.email.EmailPopulatingBuilderappendTex?? #prependText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderprependTex?? #withPlainText(String? ?Strin?org.simplejavamail.api.email.EmailPopulatingBuilderwithPlainTex??





© 2015 - 2025 Weber Informatics LLC | Privacy Policy