Represents the content of the e-mail message, composed of individual MimeBodyPart
instances.
Represents the Content-Disposition
RFC 822 message header, with the given header value
and optional header parameters.
Represents the Content-Disposition
RFC 822 message header, with the given header value
and optional header parameters.
value of the header
parameters of the header
http://www.iana.org/assignments/cont-disp/cont-disp.xhtml
General RFC 822 header, allowing to create any e-mail message header, which is not directly supported by the Mailer's API.
General RFC 822 header, allowing to create any e-mail message header, which is not directly supported by the Mailer's API.
header name
header value
Enables the debug mode.
Enables the debug mode.
The initial debug mode. Default is false.
Represents the JavaMail property mail.host
.
Represents the JavaMail property mail.host
.
The default host name of the mail server for both Stores and Transports. Used if
the mail.protocol.host
property (set by SmtpAddress)isn't set.
Represents the Mailer itself, with methods for opening/closing the connection and sending the message (com.github.jurajburian.mailer.Message)
Represents the e-mail message itself.
Represents the e-mail message itself.
e-mail sender address
e-mail subject text
e-mail content, represented by the instance of com.github.jurajburian.mailer.Content class
set of e-mail receiver addresses
set of e-mail carbon copy receiver addresses
set of e-mail blind carbon copy receiver addresses
address used to reply this message (optional)
whether the new message will be addressed to all recipients of this message
message headers (RFC 822)
Represents RFC 822 header of the e-mail message.
Represents RFC 822 header of the e-mail message. Note that RFC 822 headers must contain only US-ASCII characters, so a header that contains non US-ASCII characters must have been encoded by the caller as per the rules of RFC 2047.
Represents the JavaMail property mail.mime.address.strict
.
Represents the JavaMail property mail.mime.address.strict
.
The MimeMessage class uses the InternetAddress method parseHeader to parse headers in messages. This property controls the strict flag passed to the parseHeader method. The default is true.
Represents the set of one or more JavaMail properties.
General property, allowing to add any JavaMail property which is not directly supported by the Mailer's API.
General property, allowing to add any JavaMail property which is not directly supported by the Mailer's API.
property key
property value
Represents the factory, used to create JavaMail session with selected properties.
Represents the combination of properties mail.smtp.host
and mail.smtp.form
.
Represents the combination of properties mail.smtp.host
and mail.smtp.form
.
The SMTP server to connect to.
The SMTP server port to connect to, if the connect() method doesn't explicitly specify one. Defaults to 25.
Represents the JavaMail property mail.smtp.connectiontimeout
.
Represents the JavaMail property mail.smtp.connectiontimeout
.
Socket connection timeout value in milliseconds. Default is infinite timeout.
Represents the JavaMail property mail.smtp.from
.
Represents the JavaMail property mail.smtp.from
.
Email address to use for SMTP MAIL command. This sets the envelope return address. Defaults to msg.getFrom() or InternetAddress.getLocalAddress().
Represents the set of JavaMail properties mail.smtp.starttls.enable
and mail.smtp.starttls.required
.
Represents the set of JavaMail properties mail.smtp.starttls.enable
and mail.smtp.starttls.required
. If called without specifying the parameters,
mail.smtp.starttls.enable
is set to true
and mail.smtp.starttls.required
to false
.
If true, enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. If not set, defaults to false.
If true, requires the use of the STARTTLS command. If the server doesn't support the STARTTLS command, or the command fails, the connect method will fail. If not set, defaults to false.
Represents the JavaMail property mail.smtp.timeout
.
Represents the JavaMail property mail.smtp.timeout
.
Socket I/O timeout value in milliseconds. Default is infinite timeout.
Represents the JavaMail property mail.smtp.user
.
Represents the JavaMail property mail.smtp.user
.
The user name to use when connecting to mail servers using the specified protocol. Overrides the mail.user property.
Represents the JavaMail property mail.store.protocol
.
Represents the JavaMail property mail.store.protocol
.
Specifies the default message access protocol. The Session method getStore() returns a Store object that implements this protocol. By default the first Store provider in the configuration files is returned.
Represents the JavaMail property mail.transport.protocol
.
Represents the JavaMail property mail.transport.protocol
.
Specifies the default message transport protocol. The Session method getTransport() returns a Transport object that implements this protocol. By default the first Transport provider in the configuration files is returned.
Represents the JavaMail property mail.user
.
Represents the JavaMail property mail.user
.
The default user name to use when connecting to the mail server. Used if the mail.protocol.user property isn't set.
Mailer object providing default operations to handle the transport connection and send the e-mail message.
Provides set of operations needed to create com.github.jurajburian.mailer.SessionFactory instance.
Represents the content of the e-mail message, composed of individual
MimeBodyPart
instances. For easier use, helper methods to add specific content are available, such ashtml()
for adding HTML orattachFile()
to add file attachment.parts of the message content (represented by
MimeBodyPart
instances)