Interface MailService

  • All Known Implementing Classes:
    MailServiceImpl

    public interface MailService
    • Method Detail

      • validateSmtpConfig

        EmailSendResult validateSmtpConfig​(SenderDTO senderDTO)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • sendTestEmailsToAllUsers

        java.util.List<EmailSendResult> sendTestEmailsToAllUsers()
                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • sendTestEmail

        EmailSendResult sendTestEmail​(java.lang.String userEmail)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • sendEmailsToAllUsers

        java.util.List<EmailSendResult> sendEmailsToAllUsers()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createMailSender

        org.springframework.mail.javamail.JavaMailSenderImpl createMailSender​(SenderEntity smtpConfig)
      • fetchHtmlData

        java.lang.String fetchHtmlData()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • generateChartImage

        java.lang.String generateChartImage()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSenderConfig

        SenderEntity getSenderConfig()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception