Class TrashCanEmailService

All Implemented Interfaces:
IEmailService, IServiceDefinitionAware

public class TrashCanEmailService extends AbstractEmailService
Provides an Trash Can email service for development and testing purposes which does not sent emails.
Since:
4.3.2
  • Constructor Details

    • TrashCanEmailService

      public TrashCanEmailService()
  • Method Details

    • 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)