java.lang.Object
com.broadleafcommerce.notification.service.AbstractMessageSender
com.broadleafcommerce.notification.service.integration.SESMessageSender
All Implemented Interfaces:
MessageSender

public class SESMessageSender extends AbstractMessageSender
AWS SDK implementation to send email via Amazon SES Amazon requires credential verification prior to using SMS. See: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html By default, uses the DefaultAWSCredentialsProviderChain to resolve credentials. Alt
  • Constructor Details

    • SESMessageSender

      public SESMessageSender(com.amazonaws.services.simpleemail.AmazonSimpleEmailService client)
  • Method Details

    • sendMessage

      public void sendMessage(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • buildEmailRequest

      protected com.amazonaws.services.simpleemail.model.SendEmailRequest buildEmailRequest(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • buildDestination

      protected com.amazonaws.services.simpleemail.model.Destination buildDestination(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • buildSubject

      protected com.amazonaws.services.simpleemail.model.Content buildSubject(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • buildBody

      protected com.amazonaws.services.simpleemail.model.Body buildBody(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • resolveSource

      protected String resolveSource(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)