Interface IMailService

  • All Known Implementing Classes:
    MailService

    public interface IMailService
    • Method Detail

      • sendRegistrationEmail

        void sendRegistrationEmail​(RegisteredUser user)
                            throws javax.mail.MessagingException,
                                   java.io.IOException,
                                   freemarker.template.TemplateException
        Throws:
        javax.mail.MessagingException
        java.io.IOException
        freemarker.template.TemplateException
      • sendPasswordResetEmail

        void sendPasswordResetEmail​(RegisteredUser user)
                             throws javax.mail.MessagingException,
                                    java.io.IOException,
                                    freemarker.template.TemplateException
        Throws:
        javax.mail.MessagingException
        java.io.IOException
        freemarker.template.TemplateException
      • testConnection

        void testConnection()
      • sendMail

        void sendMail​(MailDraft mailDraft)
               throws javax.mail.MessagingException,
                      java.io.IOException,
                      freemarker.template.TemplateException
        Throws:
        javax.mail.MessagingException
        java.io.IOException
        freemarker.template.TemplateException