Class ExchangeEmailService

    • Constructor Detail

      • ExchangeEmailService

        public ExchangeEmailService()
    • Method Detail

      • sendEmailMessage

        public void sendEmailMessage​(String subject,
                                     String message,
                                     String fromAddress,
                                     String replyToAddress,
                                     String toAddress,
                                     String ccAddress,
                                     String bccAddress,
                                     Map<String,​byte[]> attachmentMap,
                                     Submission submission)
        Send an email message.
        Parameters:
        subject - email subject
        message - email message body
        fromAddress - the from address
        replyToAddress - the reply-to address
        toAddress - email to address
        ccAddress - email address to cc
        bccAddress - email address to bcc
        attachmentMap - attachments map
        submission - the submission the email relates to (optional)
      • getExchangeUser

        public String getExchangeUser()
        Returns:
        the exchangeUser
      • setExchangeUser

        public void setExchangeUser​(String exchangeUser)
        Parameters:
        exchangeUser - the exchangeUser to set
      • getExchangePassword

        public String getExchangePassword()
        Returns:
        the exchangePassword
      • setExchangePassword

        public void setExchangePassword​(String exchangePassword)
        Parameters:
        exchangePassword - the exchangePassword to set
      • getExchangeUrl

        public String getExchangeUrl()
        Returns:
        the exchangeUrl
      • setExchangeUrl

        public void setExchangeUrl​(String exchangeUrl)
        Parameters:
        exchangeUrl - the exchangeUrl to set
      • getSenderAddress

        public String getSenderAddress()
        Returns:
        the senderAddress
      • setSenderAddress

        public void setSenderAddress​(String senderAddress)
        Parameters:
        senderAddress - the senderAddress to set