Class SendEmailService


  • @Singleton
    public class SendEmailService
    extends java.lang.Object
    Wrapper around javax.mail's email creation and sending functionality. Encompasses a retry policy as well.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sendEmail​(EmailMessage emailMessage)
      Converts the provided message content into a Message and sends it with retry on transient failures.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sendEmail

        public void sendEmail​(EmailMessage emailMessage)
        Converts the provided message content into a Message and sends it with retry on transient failures.