Class MockEmailer

java.lang.Object
com.erudika.para.core.email.MockEmailer
All Implemented Interfaces:
Emailer

public class MockEmailer extends Object implements Emailer
Mock emailer implementation.
Author:
Alex Bogdanovski [[email protected]]
  • Constructor Details

    • MockEmailer

      public MockEmailer()
      Constructor.
  • Method Details

    • sendSingleBatch

      public void sendSingleBatch(App app, List<String> emails, String subject, String body, jakarta.mail.util.ByteArrayDataSource attachment, String fileName)
      Description copied from interface: Emailer
      Sends a single email message to a batch of email addresses (max. 100).
      Specified by:
      sendSingleBatch in interface Emailer
      Parameters:
      app - the app where mailer configuration is loaded from
      emails - a list of email addresses (recipients)
      subject - the subject of the message
      body - the body of the message
      attachment - attachment
      fileName - attachment file name