Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAttachment(File) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- addAttachment(File) - Method in interface one.jpro.platform.mail.MailMessage
-
Adds a
Fileas an attachment to this message. - addAttachment(File, String) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- addAttachment(File, String) - Method in interface one.jpro.platform.mail.MailMessage
-
Adds a
Fileas an attachment to this message with the given content ID. - addAttachment(File, String, String) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- addAttachment(File, String, String) - Method in interface one.jpro.platform.mail.MailMessage
-
Adds a
Fileas an attachment to this message with the given content type and encoding. - addBcc(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- addBcc(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Add these addresses to the existing "Bcc" attribute.
- addCc(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- addCc(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Add these addresses to the existing "Cc" attribute.
- addFrom(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- addFrom(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Add these addresses to the existing "From" attribute.
- addTo(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- addTo(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Add these addresses to the existing "To" attribute.
C
- create() - Static method in interface one.jpro.platform.mail.MailConfig
-
Creates a new instance of MailConfig.
- create(MailConfig) - Static method in interface one.jpro.platform.mail.MailClient
-
Creates a new MailClient instance with the given mail configuration.
- create(MailConfig, String, String) - Static method in interface one.jpro.platform.mail.MailClient
-
Creates a new
MailClientinstance with the given mail configuration, username, and password. - create(MailClient) - Static method in interface one.jpro.platform.mail.MailMessage
-
Creates a new MailMessage instance using the provided MailClient.
- createMessage() - Method in class one.jpro.platform.mail.impl.MailClientImpl
- createMessage() - Method in interface one.jpro.platform.mail.MailClient
-
Creates a new mail message.
D
- DEFAULT_MAIL_DEBUG - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_AUTH - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_AUTH_DIGEST_MD5_DISABLE - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_AUTH_XOAUTH2_DISABLE - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_HOST - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_PORT - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_SSL_CHECKSERVERIDENTITY - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_SSL_ENABLE - Static variable in interface one.jpro.platform.mail.MailConfig
- DEFAULT_MAIL_SMTP_STARTTLS - Static variable in interface one.jpro.platform.mail.MailConfig
- DISABLED - Enum constant in enum class one.jpro.platform.mail.StartTLSOption
-
StartTLS is disabled and will not be used in any case.
E
- ENABLED - Enum constant in enum class one.jpro.platform.mail.StartTLSOption
-
StartTLS is enabled and will be used if the server supports it.
G
- getAllRecipients() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getAllRecipients() - Method in interface one.jpro.platform.mail.MailMessage
-
Get all the recipients of this message.
- getBcc() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getBcc() - Method in interface one.jpro.platform.mail.MailMessage
-
Return the "Bcc" attribute addresses.
- getCc() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getCc() - Method in interface one.jpro.platform.mail.MailMessage
-
Return the "Cc" attribute addresses.
- getFrom() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getFrom() - Method in interface one.jpro.platform.mail.MailMessage
-
Returns the "From" attribute addresses.
- getMailSmtpAuthMechanisms() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpAuthMechanisms() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the SMTP authentication mechanisms.
- getMailSmtpConnectionTimeout() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpConnectionTimeout() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the SMTP connection timeout.
- getMailSmtpHost() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpHost() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the SMTP host.
- getMailSmtpPort() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpPort() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the SMTP port.
- getMailSmtpSslTrust() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpSslTrust() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the SMTP SSL trust setting.
- getMailSmtpStartTLS() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpStartTLS() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the STARTTLS option.
- getMailSmtpTimeout() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpTimeout() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the SMTP timeout.
- getMailSmtpUser() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getMailSmtpUser() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the SMTP user.
- getProperties() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- getProperties() - Method in interface one.jpro.platform.mail.MailConfig
-
Gets the mail properties.
- getReceivedDate() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getReceivedDate() - Method in interface one.jpro.platform.mail.MailMessage
-
Get the date this message was received.
- getReplyTo() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getReplyTo() - Method in interface one.jpro.platform.mail.MailMessage
-
Get the addresses to which replies should be directed.
- getSentDate() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getSentDate() - Method in interface one.jpro.platform.mail.MailMessage
-
Get the date this message was sent.
- getSubject() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getSubject() - Method in interface one.jpro.platform.mail.MailMessage
-
Get the subject of this message.
- getTo() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- getTo() - Method in interface one.jpro.platform.mail.MailMessage
-
Returns the "To" attribute addresses.
- GoogleMailConfig - Class in one.jpro.platform.mail.config
-
The GoogleMailConfig class provides a predefined configuration for connecting to the Google Mail (Gmail) SMTP server.
- GoogleMailConfig() - Constructor for class one.jpro.platform.mail.config.GoogleMailConfig
-
Constructs a new GoogleMailConfig instance with default settings for connecting to Google's SMTP server.
I
- isMailDebug() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailDebug() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if mail debugging is enabled.
- isMailSmtpAuth() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailSmtpAuth() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if SMTP authentication is enabled.
- isMailSmtpAuthDigestMd5Disable() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailSmtpAuthDigestMd5Disable() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if the "AUTH DIGEST-MD5" command is disabled.
- isMailSmtpAuthLoginDisable() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailSmtpAuthLoginDisable() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if the "AUTH LOGIN" command is disabled.
- isMailSmtpAuthPlainDisable() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailSmtpAuthPlainDisable() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if the "AUTH PLAIN" command is disabled.
- isMailSmtpAuthXOAuth2Disable() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailSmtpAuthXOAuth2Disable() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if the "AUTH XOAUTH2" command is disabled.
- isMailSmtpSslCheckServerIdentity() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailSmtpSslCheckServerIdentity() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if the server identity is checked for SMTP SSL.
- isMailSmtpSslEnable() - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- isMailSmtpSslEnable() - Method in interface one.jpro.platform.mail.MailConfig
-
Checks if SSL is enabled for SMTP.
M
- MAIL_DEBUG - Static variable in interface one.jpro.platform.mail.MailConfig
-
Property for enabling or disabling debugging.
- MAIL_SMTP_AUTH - Static variable in interface one.jpro.platform.mail.MailConfig
-
If
true, attempt to authenticate the user using the AUTH command. - MAIL_SMTP_AUTH_DIGEST_MD5_DISABLE - Static variable in interface one.jpro.platform.mail.MailConfig
-
If
true, prevents use of the "AUTH DIGEST-MD5" command. - MAIL_SMTP_AUTH_LOGIN_DISABLE - Static variable in interface one.jpro.platform.mail.MailConfig
-
If
true, prevents use of the "AUTH LOGIN" command. - MAIL_SMTP_AUTH_MECHANISMS - Static variable in interface one.jpro.platform.mail.MailConfig
-
If set, lists the authentication mechanisms to consider, and the order in which to consider them.
- MAIL_SMTP_AUTH_PLAIN_DISABLE - Static variable in interface one.jpro.platform.mail.MailConfig
-
If
true, prevents use of theAUTH PLAINcommand. - MAIL_SMTP_AUTH_XOAUTH2_DISABLE - Static variable in interface one.jpro.platform.mail.MailConfig
-
If
true, prevents use of the "AUTHENTICATE XOAUTH2" command. - MAIL_SMTP_CONNECTIONTIMEOUT - Static variable in interface one.jpro.platform.mail.MailConfig
-
Socket connection timeout value in milliseconds.
- MAIL_SMTP_HOST - Static variable in interface one.jpro.platform.mail.MailConfig
-
The SMTP server to connect to.
- MAIL_SMTP_PORT - Static variable in interface one.jpro.platform.mail.MailConfig
-
The SMTP server port to connect to, if the connect() method doesn't explicitly specify one.
- MAIL_SMTP_SSL_CHECKSERVERIDENTITY - Static variable in interface one.jpro.platform.mail.MailConfig
-
If set to
true, check the server identity as specified by RFC 2595. - MAIL_SMTP_SSL_ENABLE - Static variable in interface one.jpro.platform.mail.MailConfig
-
If set to
true, use SSL to connect and use the SSL port by default. - MAIL_SMTP_SSL_TRUST - Static variable in interface one.jpro.platform.mail.MailConfig
-
If set, and a socket factory hasn't been specified, enables use of a MailSSLSocketFactory.
- MAIL_SMTP_STARTTLS_ENABLE - Static variable in interface one.jpro.platform.mail.MailConfig
-
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. - MAIL_SMTP_STARTTLS_REQUIRED - Static variable in interface one.jpro.platform.mail.MailConfig
-
If
true, requires the use of the "STARTTLS" command. - MAIL_SMTP_TIMEOUT - Static variable in interface one.jpro.platform.mail.MailConfig
-
Socket read timeout value in milliseconds.
- MAIL_SMTP_USER - Static variable in interface one.jpro.platform.mail.MailConfig
-
Default user name for SMTP.
- MailClient - Interface in one.jpro.platform.mail
-
The MailClient interface provides methods for creating and managing mail clients.
- MailClientImpl - Class in one.jpro.platform.mail.impl
-
Mail client implementation.
- MailClientImpl(MailConfig) - Constructor for class one.jpro.platform.mail.impl.MailClientImpl
- MailClientImpl(MailConfig, String, String) - Constructor for class one.jpro.platform.mail.impl.MailClientImpl
- MailConfig - Interface in one.jpro.platform.mail
-
This interface represents the configuration for a mail client.
- MailConfigImpl - Class in one.jpro.platform.mail.impl
-
Mail configuration implementation.
- MailConfigImpl() - Constructor for class one.jpro.platform.mail.impl.MailConfigImpl
- MailException - Exception Class in one.jpro.platform.mail
-
An exception thrown when an error occurs while sending an email.
- MailException(String) - Constructor for exception class one.jpro.platform.mail.MailException
-
Constructs a new
MailExceptionwith the specified detail message. - MailException(String, Throwable) - Constructor for exception class one.jpro.platform.mail.MailException
-
Constructs a new
MailExceptionexception with the specified detail message and cause. - MailMessage - Interface in one.jpro.platform.mail
-
The MailMessage interface provides methods for creating and managing email messages.
- MailMessageImpl - Class in one.jpro.platform.mail.impl
-
Mail message implementation.
- MailTrapConfig - Class in one.jpro.platform.mail.config
-
The MailTrapConfig class provides a predefined configuration for connecting to the MailTrap SMTP server.
- MailTrapConfig() - Constructor for class one.jpro.platform.mail.config.MailTrapConfig
-
Constructs a new MailTrapConfig instance with default settings for connecting to MailTrap's SMTP server.
O
- one.jpro.platform.mail - module one.jpro.platform.mail
-
Module descriptor for JPro Mail module.
- one.jpro.platform.mail - package one.jpro.platform.mail
- one.jpro.platform.mail.config - package one.jpro.platform.mail.config
- one.jpro.platform.mail.impl - package one.jpro.platform.mail.impl
R
- REQUIRED - Enum constant in enum class one.jpro.platform.mail.StartTLSOption
-
StartTLS is required and will be used if the server supports it and the send operation will fail otherwise.
S
- saveChanges() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- saveChanges() - Method in interface one.jpro.platform.mail.MailMessage
-
Save any changes made to this message into the message-store when the containing folder is closed, if the message is contained in a folder.
- send() - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- send() - Method in interface one.jpro.platform.mail.MailMessage
-
Send a message.
- send(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- send(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Send the message to the specified addresses, ignoring any recipients specified in the message itself.
- setBcc(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setBcc(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the "Bcc" attribute addresses in this message.
- setCc(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setCc(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the "Cc" attribute addresses in this message.
- setFrom(String) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setFrom(String) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the "From" attribute address in this message.
- setHtml(String) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setHtml(String) - Method in interface one.jpro.platform.mail.MailMessage
-
A convenience method that sets the given String as this part's content with a MIME type of "text/html".
- setMailDebug(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailDebug(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the mail debugging option.
- setMailSmtpAuth(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpAuth(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP authentication option.
- setMailSmtpAuthDigestMd5Disable(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpAuthDigestMd5Disable(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the option to disable the "AUTH DIGEST-MD5" command.
- setMailSmtpAuthLoginDisable(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpAuthLoginDisable(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the option to disable the "AUTH LOGIN" command.
- setMailSmtpAuthMechanisms(String) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpAuthMechanisms(String) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP authentication mechanisms.
- setMailSmtpAuthPlainDisable(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpAuthPlainDisable(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the option to disable the "AUTH PLAIN" command.
- setMailSmtpAuthXOAuth2Disable(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpAuthXOAuth2Disable(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the option to disable the "AUTH XOAUTH2" command.
- setMailSmtpConnectionTimeout(int) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpConnectionTimeout(int) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP connection timeout.
- setMailSmtpHost(String) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpHost(String) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP host.
- setMailSmtpPort(int) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpPort(int) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP port.
- setMailSmtpSslCheckServerIdentity(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpSslCheckServerIdentity(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the option to check the server identity for SMTP SSL.
- setMailSmtpSslEnable(boolean) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpSslEnable(boolean) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the option to enable SSL for SMTP.
- setMailSmtpSslTrust(String) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpSslTrust(String) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP SSL trust setting.
- setMailSmtpStartTLS(StartTLSOption) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpStartTLS(StartTLSOption) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the STARTTLS option.
- setMailSmtpTimeout(int) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpTimeout(int) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP timeout.
- setMailSmtpUser(String) - Method in class one.jpro.platform.mail.impl.MailConfigImpl
- setMailSmtpUser(String) - Method in interface one.jpro.platform.mail.MailConfig
-
Sets the SMTP user.
- setReplyTo(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setReplyTo(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the addresses to which replies should be directed.
- setSentDate(Instant) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setSentDate(Instant) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the sent date of this message.
- setSubject(String) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setSubject(String) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the subject of this message.
- setText(String) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setText(String) - Method in interface one.jpro.platform.mail.MailMessage
-
A convenience method that sets the given String as this part's content with a MIME type of "text/plain".
- setTo(String) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setTo(String) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the "To" attribute address in this message.
- setTo(ImmutableList<String>) - Method in class one.jpro.platform.mail.impl.MailMessageImpl
- setTo(ImmutableList<String>) - Method in interface one.jpro.platform.mail.MailMessage
-
Set the "To" attribute addresses in this message.
- StartTLSOption - Enum Class in one.jpro.platform.mail
-
Possible options for a secure connection using TLS protocol.
V
- valueOf(String) - Static method in enum class one.jpro.platform.mail.StartTLSOption
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class one.jpro.platform.mail.StartTLSOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form