ReadonlyFlagsThe Jakarta Mail Flags class, for reading and setting message flags such as seen or deleted.
ReadonlyRecipientThe Jakarta Mail Message.RecipientType class (TO, CC, BCC), for addressing messages.
ReadonlysystemReturn the systems SMTP [[MailService]]
Returns a [[InternetAddress]]. Same as calling addressBuilder().apply(addressSettings).build()
Returns a [[InternetAddressBuilder]]
Provides a [[MailStore]] with protocol set to imap and port set to 143 unless replaced by imapSettings.Same as calling imapBuilder().apply(imapSettings).build().store(mailStoreFn)
Return a [[MailServiceBuilder]] with protocol set to imap and port set to 143.Same as calling mailServiceBuilder().protocol("imap").port(143)
Provides a [[MailStore]] with protocol set to imaps and port set to 993 unless replaced by imapsSettings.Same as calling imapsBuilder().apply(imapsSettings).build().store(mailStoreFn)
Return a [[MailServiceBuilder]] with protocol set to imap and port set to 143.Same as calling mailServiceBuilder().protocol("imaps").property("mail.imaps.starttls.enable", "true").port(993)
Returns a [[MailServer]] using mailServiceSettingsSame as calling mailServiceBuilder().apply(mailServiceSettings).build()
Returns a [[MailServerBuilder]]
Returns a function that provides a [[MailTransport]].
Creates a chainable email builder compatible with the legacy newEmail() formula. Build an email by chaining .to(), .from(), .subject(), .html(), etc., then call .send().
Returns a new [[MimeBodyPart]].
Returns a new [[MimeBodyPart]] applying multipartSettings.
Returns a new [[MimeMultipart]].
Returns a new [[MimeMultipart]] provided the multipartSettings.
Returns a [[InternetAddress]] array.
Returns a [[InternetAddress]] array where addressList are formatted as a mail header.
Provides a [[MailStore]] with protocol set to pop3 and port set to 110 unless replaced by popSettings.Same as calling pop3Builder().apply(popSettings).build().store(mailStoreFn)
Return a [[MailServiceBuilder]] with protocol set to pop3 and port set to 110.Same as calling mailServiceBuilder().protocol("pop3").port(110)
Provides a [[MailStore]] with protocol set to pop3s and port set to 110 unless replaced by popsSettings.Same as calling pop3sBuilder().apply(popsSettings).build().store(mailStoreFn)
Return a [[MailServiceBuilder]] with protocol set to pop3s and port set to 995.Same as calling `mailServiceBuilder().protocol("pop3s").property("mail.pop3s.starttls.enable", "true").port(995)
Provides a [[MailTransport]] with protocol set to smtp and port set to 25 unless replaced by transportSettings.Same as calling smtp(mailTransporter(mailMessageSettings), transportSettings) or calling smtp(mailTransporter(mailMessageSettings))
OptionaltransportSettings: MailServiceSettings
If not present uses the System's mail sender
Provides a [[MailTransport]] with protocol set to smtps and port set to 465 unless replaced by transportSettings.Same as calling smtps(transportSettings, mailTransporter(mailMessage));
Provides a [[MailTransport]] with protocol set to smtp and port set to 25 unless replaced by smtpSettings.Same as calling smtpBuilder().apply(smtpSettings).build().transport(mailTransporter) or calling systemSmtpService.transport(mailTransporter)
OptionalsmtpSettings: MailServiceSettings
If not present uses [[systemSmtpService]]
Return a [[MailServiceBuilder]] with protocol set to smtp and port set to 25.Same as calling mailServiceBuilder().protocol("smtp").port(25)
Provides a [[MailTransport]] with protocol set to smtps and port set to 465 unless replaced by smtpsSettings.Same as calling smtpBuilder().apply(smtpSettings).build().transport(mailTransporter)
Return a [[MailServiceBuilder]] with protocol set to smtps and port set to 465.Same as calling mailServiceBuilder().protocol("smtps").port(465)
TODO
Example