EmailPopulatingBuilder.appendText(String).EmailPopulatingBuilder.appendTextHTML(String).Java <= 7.EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with fixedRecipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with fixedRecipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withRecipients(String, boolean, Collection, Message.RecipientType), with recipientType=Message.RecipientType#BCC
and fixedName=true assigning or overwriting existing names with the provided name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC and empty default name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withAddressesWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withAddressesWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC and empty default name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withRecipientsWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.EmailPopulatingBuilder.withRecipientsWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#BCC.Email.Email(EmailPopulatingBuilder) with this as argument.Mailer instance with everything configured on this builder instance.Mailer instance with everything configured on this builder instance.EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withRecipients(String, boolean, Collection, Message.RecipientType), with recipientType=Message.RecipientType#CC
and fixedName=true assigning or overwriting existing names with the provided name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC and empty default name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withAddressesWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withAddressesWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC and empty default name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withRecipientsWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.EmailPopulatingBuilder.withRecipientsWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#CC.null.null.null.EmailStartingBuilder.copying(Email), by converting the provided message first.EmailStartingBuilder.copying(Email), by building the email first.Integer.MAX_VALUE), effectively indefinately.false, sending mails rather than just only logging the mails.1080.60000 milliseconds (affects socket connect-,
read- and write timeouts).false, sending mails rather than just only logging the mails.EmailPopulatingBuilder to this Email instance.Mailer instance.Email instances.EmailPopulatingBuilder.encryptWithSmime(X509Certificate) using the provided PEM file.EmailPopulatingBuilder.encryptWithSmime(InputStream) using the provided PEM file.EmailPopulatingBuilder.encryptWithSmime(InputStream) using the provided PEM file.EmailStartingBuilder.forwarding(MimeMessage) with the provided Email converted to MimeMessage.EmailPopulatingBuilder.from(String, String) with empty name.EmailPopulatingBuilder.from(Recipient) with a new Recipient wrapped around the given name and email address.EmailPopulatingBuilder.from(Recipient) with a new Recipient wrapped around the given fixed name and email address.EmailPopulatingBuilder.from(Recipient) with a new Recipient wrapped around the given email address.Recipient (ignoring its Message.RecipientType if provided).Recipient.address;DataSource.getInputStream()OperationalConfig is created for the
new Mailer instance.Recipient.name;Session instance to debug or tweak.Recipient.type;<img src="..."> entries in an HTML document.It needs to cater for various things, like more whitespaces including newlines on any place, HTML is not case
sensitive and there can be arbitrary text between "IMG" and "SRC" like IDs and other things.EmailPopulatingBuilder.fixingMessageId(String) instead. This method is used internally to
update the message id once a mail has been sent.File, if provided.InputStream.MailerRegularBuilder.Session instance.Mailer operates.FileInputStream without closing it.EmailPopulatingBuilder.prependText(String).EmailPopulatingBuilder.prependTextHTML(String).MiscUtil.readInputStreamToBytes(InputStream) with data source input stream.MiscUtil.readInputStreamToString(InputStream, Charset) with data source input stream.Message.RecipientType.BCC).EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to false and a default HTML quoting
template.EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to false.EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to false and a default HTML quoting
template.EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to false.EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to true and a default HTML quoting
template.EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to true.EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to true.EmailStartingBuilder.replyingTo(MimeMessage, boolean, String) with replyToAll set to true and a default HTML quoting
template.Mailer.EmailAddressCriteria.RFC_COMPLIANT.Executors.newSingleThreadExecutor().Mailer.sendMail(Email, boolean), with async = false.Email instance into a completely configured Message.Mailer instance and closes remaining open connections.EmailPopulatingBuilder.signWithDomainKey(InputStream, String, String) with a ByteArrayInputStream wrapped around the prodived dkimPrivateKey data.EmailPopulatingBuilder.signWithDomainKey(InputStream, String, String) with a ByteArrayInputStream wrapped around the prodived dkimPrivateKey string converted to UTF_8 byte array.EmailPopulatingBuilder.signWithDomainKey(InputStream, String, String), but with a File reference that is later read as InputStream.EmailPopulatingBuilder.signWithSmime(Pkcs12Config).Mailer.testConnection(boolean) with async == false.EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withRecipients(String, boolean, Collection, Message.RecipientType), with recipientType=Message.RecipientType#TO and
fixedName=true assigning or overwriting existing names with the provided name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withAddressesWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withAddressesWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO and empty default name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO and empty default name.EmailPopulatingBuilder.withAddressesWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO and empty default name.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withRecipientsWithDefaultName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withRecipientsWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.EmailPopulatingBuilder.withRecipientsWithFixedName(String, Collection, Message.RecipientType) with recipientType=Message.RecipientType#TO.Session may be configured using a
TransportStrategy implementation.Session instance.Email instance.EmailPopulatingBuilder.withRecipient(String, String, Message.RecipientType) for each address in the provided collection.EmailPopulatingBuilder.withAddresses(String, boolean, Collection, Message.RecipientType), leaving existing names in tact and defaulting when missing.EmailPopulatingBuilder.withAddresses(String, boolean, Collection, Message.RecipientType), with fixedName=true
assigning or overwriting existing names with the provided name.EmailPopulatingBuilder.withAttachment(String, DataSource), with a named ByteArrayDataSource created using the provided name, data and
mimetype.EmailPopulatingBuilder.withAttachment(String, DataSource) for each attachment.EmailPopulatingBuilder.withBounceTo(Recipient) with a new Recipient wrapped around the email address (or null if missing).EmailPopulatingBuilder.withBounceTo(Recipient) with a new Recipient wrapped around the given name and email address.EmailPopulatingBuilder.withBounceTo(Recipient) with a new Recipient wrapped around the given address.EmailPopulatingBuilder.withBounceTo(Recipient) with a new Recipient wrapped around the given fixed name and address.Recipient (ignoring its Message.RecipientType if provided).Mailer instances represent
individual connection pools within the same cluster.>0, configures the connection pool to wait for a limited time after which the attempt to claim a Transport connection errors out.>0, configures the connection pool to automatically close connections after some milliseconds (default 5000) since last usage.Session.setDebug(boolean) so that it generates debug information.dispositionNotificationTo.EmailPopulatingBuilder.withDispositionNotificationTo(Recipient) with a new Recipient wrapped around the provided address.EmailPopulatingBuilder.withDispositionNotificationTo(Recipient) with a new Recipient wrapped around the provided name and address.EmailPopulatingBuilder.withDispositionNotificationTo(Recipient) with a new Recipient wrapped around the provided address.EmailPopulatingBuilder.withDispositionNotificationTo(Recipient) with a new Recipient wrapped around the provided fixed name and address.Recipient.Mailer instance.EmailPopulatingBuilder.withEmbeddedImage(String, DataSource), with a named ByteArrayDataSource created using the provided name, data and
mimetype.EmailPopulatingBuilder.withEmbeddedImageBaseUrl(URL).EmailPopulatingBuilder.withEmbeddedImage(String, DataSource) for each embedded image.EmailPopulatingBuilder.withHeader(String, Object) for each header in the provided Map.EmailPopulatingBuilder.withHTMLText(String).EmailPopulatingBuilder.withPlainText(String).Session when building a mailer.null.MailerGenericBuilder.withProxyHost(String)
MailerGenericBuilder.withProxyPort(Integer)
MailerGenericBuilder.withProxyUsername(String)
MailerGenericBuilder.withProxyPassword(String)
EmailPopulatingBuilder.withRecipient(String, String, Message.RecipientType) with the name omitted.EmailPopulatingBuilder.withRecipient(String, boolean, String, Message.RecipientType) with the name omitted and fixedName = true.Recipient instance with the given name, address and Message.RecipientType.Recipient instance as copy of the provided recipient (copying name, address and Message.RecipientType).EmailPopulatingBuilder.withRecipient(Recipient) for each address found in not just the collection, but also in every individual address string
that is in the collection.EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with Message.RecipientType left empty (so it will use the original values).EmailPopulatingBuilder.withRecipients(Collection, Message.RecipientType) with Message.RecipientType left empty (so it will use the original values).EmailPopulatingBuilder.withRecipient(String, String, Message.RecipientType) for each recipient in the provided collection, optionally fixing the
recipientType for all recipients to the provided type.EmailPopulatingBuilder.withRecipients(String, boolean, Collection, Message.RecipientType), leaving existing names in tact and defaulting when missing.EmailPopulatingBuilder.withRecipients(String, boolean, Collection, Message.RecipientType), with fixedName=true
assigning or overwriting existing names with the provided name.EmailPopulatingBuilder.withReplyTo(Recipient) with a new Recipient wrapped around the given email address (or null if missing).EmailPopulatingBuilder.withReplyTo(Recipient) with a new Recipient wrapped around the given fixed name and email address.EmailPopulatingBuilder.withReplyTo(Recipient) with a new Recipient wrapped around the given address.EmailPopulatingBuilder.withReplyTo(Recipient) with a new Recipient wrapped around the given fixed name and address.Recipient (ignoring its Message.RecipientType if provided).returnReceiptTo.EmailPopulatingBuilder.withReturnReceiptTo(Recipient) with a new Recipient wrapped around the provided address.EmailPopulatingBuilder.withReturnReceiptTo(Recipient) with a new Recipient wrapped around the provided name and address.EmailPopulatingBuilder.withReturnReceiptTo(Recipient) with a new Recipient wrapped around the provided address.EmailPopulatingBuilder.withReturnReceiptTo(Recipient) with a new Recipient wrapped around the provided fixed name and address.Recipient.Copyright © 2009–2022. All rights reserved.