Class SmtpMailSender

  • All Implemented Interfaces:
    MailSender

    @Service
    @Singleton
    public class SmtpMailSender
    extends Object
    implements MailSender
    This is the SMTP implementation of the MailSender interface. This implementation uses the parameters provided by MailUtil.
    Author:
    Yohann Chastagnier
    • Constructor Detail

      • SmtpMailSender

        public SmtpMailSender()
    • Method Detail

      • send

        public void send​(MailToSend mail)
        Description copied from interface: MailSender
        Performs a send of a mail.
        Specified by:
        send in interface MailSender
        Parameters:
        mail - the mail to send.