Class TrashCanEmailService

    • Constructor Detail

      • TrashCanEmailService

        public TrashCanEmailService()
    • 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)