Skip navigation links
C E G I M P S V 

C

createAndFillMessage(MessageEditor) - Method in class io.commercetools.sunrise.email.smtp.SmtpAuthEmailSender
Creates a new MimeMessage and passes it to the given MessageEditor that fills the message.
createSession(Properties, SmtpConfiguration) - Method in class io.commercetools.sunrise.email.smtp.SmtpAuthEmailSender
Creates a new Session with an Authenticator that will be used to log into the SMTP server.

E

edit(MimeMessage) - Method in interface io.commercetools.sunrise.email.MessageEditor
Implementations of this method modify the given message.
EmailCreationException - Exception in io.commercetools.sunrise.email
An unchecked exception signalling that an e-mail could not be created or not be modified by a MessageEditor.
EmailCreationException(String) - Constructor for exception io.commercetools.sunrise.email.EmailCreationException
 
EmailCreationException(String, Throwable) - Constructor for exception io.commercetools.sunrise.email.EmailCreationException
 
EmailCreationException(Throwable) - Constructor for exception io.commercetools.sunrise.email.EmailCreationException
 
EmailCreationException(String, Throwable, boolean, boolean) - Constructor for exception io.commercetools.sunrise.email.EmailCreationException
 
EmailDeliveryException - Exception in io.commercetools.sunrise.email
An unchecked exception signalling that an e-mail could not be sent due to issues that arose from either the e-mail itself or from the e-mail infrastructure.
EmailDeliveryException(String) - Constructor for exception io.commercetools.sunrise.email.EmailDeliveryException
 
EmailDeliveryException(String, Throwable) - Constructor for exception io.commercetools.sunrise.email.EmailDeliveryException
 
EmailDeliveryException(Throwable) - Constructor for exception io.commercetools.sunrise.email.EmailDeliveryException
 
EmailDeliveryException(String, Throwable, boolean, boolean) - Constructor for exception io.commercetools.sunrise.email.EmailDeliveryException
 
EmailSender - Interface in io.commercetools.sunrise.email
A service for sending e-mails.
EmailSenderException - Exception in io.commercetools.sunrise.email
An abstract base class for unchecked exception signalling issues related to an EmailSender.
EmailSenderException(String) - Constructor for exception io.commercetools.sunrise.email.EmailSenderException
 
EmailSenderException(String, Throwable) - Constructor for exception io.commercetools.sunrise.email.EmailSenderException
 
EmailSenderException(Throwable) - Constructor for exception io.commercetools.sunrise.email.EmailSenderException
 
EmailSenderException(String, Throwable, boolean, boolean) - Constructor for exception io.commercetools.sunrise.email.EmailSenderException
 

G

getHost() - Method in class io.commercetools.sunrise.email.smtp.SmtpConfiguration
 
getPassword() - Method in class io.commercetools.sunrise.email.smtp.SmtpConfiguration
 
getPort() - Method in class io.commercetools.sunrise.email.smtp.SmtpConfiguration
 
getTransportSecurity() - Method in class io.commercetools.sunrise.email.smtp.SmtpConfiguration
 
getUsername() - Method in class io.commercetools.sunrise.email.smtp.SmtpConfiguration
 
GmailSmtpEmailSender - Class in io.commercetools.sunrise.email.smtp
An e-mail sender pre-configured for Gmail servers.
GmailSmtpEmailSender(String, String, Executor, int) - Constructor for class io.commercetools.sunrise.email.smtp.GmailSmtpEmailSender
Create an e-mail sender that connects to smtp.gmail.com:587 using (and requiring) STARTTLS security.

I

io.commercetools.sunrise.email - package io.commercetools.sunrise.email
 
io.commercetools.sunrise.email.smtp - package io.commercetools.sunrise.email.smtp
 

M

MessageEditor - Interface in io.commercetools.sunrise.email
A functional interface for modifying a message without needing to handle checked exceptions like the MessagingExceptions thrown by MimeMessage.

P

properties(Properties) - Method in class io.commercetools.sunrise.email.smtp.SmtpAuthEmailSender
This method does nothing by default but may be overridden to customize the configuration of the Java Mail API used by this e-mail sender.

S

send(MessageEditor) - Method in interface io.commercetools.sunrise.email.EmailSender
Create a completion stage that asynchronously sends an e-mail using the configuration of this e-mail service.
send(MessageEditor) - Method in class io.commercetools.sunrise.email.smtp.SmtpAuthEmailSender
 
sendMessage(MimeMessage) - Method in class io.commercetools.sunrise.email.smtp.SmtpAuthEmailSender
Sends the given message to the configured SMTP server.
SmtpAuthEmailSender - Class in io.commercetools.sunrise.email.smtp
An e-mail sender that asynchronously sends e-mail via SMTP over TLS using the default implementation of the Java Mail API.
SmtpAuthEmailSender(SmtpConfiguration, Executor, int) - Constructor for class io.commercetools.sunrise.email.smtp.SmtpAuthEmailSender
Create a new instance using the given executor and configuration.
SmtpConfiguration - Class in io.commercetools.sunrise.email.smtp
Instances of this class specify how to connect to an SMTP server with a username and password.
SmtpConfiguration(String, int, SmtpConfiguration.TransportSecurity, String, String) - Constructor for class io.commercetools.sunrise.email.smtp.SmtpConfiguration
Create a configuration that specifies how to connect to an SMTP server with the given username and password.
SmtpConfiguration.TransportSecurity - Enum in io.commercetools.sunrise.email.smtp
How to secure the connection to an SMTP server.

V

valueOf(String) - Static method in enum io.commercetools.sunrise.email.smtp.SmtpConfiguration.TransportSecurity
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.commercetools.sunrise.email.smtp.SmtpConfiguration.TransportSecurity
Returns an array containing the constants of this enum type, in the order they are declared.
C E G I M P S V 
Skip navigation links