Class TestingEmailsImpl

All Implemented Interfaces:
TestingEmails

public class TestingEmailsImpl extends SendApiResource implements TestingEmails
Implementation of the TestingEmails interface for sending emails in the sandbox environment.
  • Constructor Details

  • Method Details

    • send

      public SendResponse send(MailtrapMail mail, long inboxId)
      Description copied from interface: TestingEmails
      Sends an email
      Specified by:
      send in interface TestingEmails
      Parameters:
      mail - The email message to be sent.
      inboxId - ID of the testing inbox, where to send an email.
      Returns:
      A response indicating the result of the send operation.