Class SendEmailsRequest

java.lang.Object
com.mailjet.client.transactional.SendEmailsRequest

public class SendEmailsRequest
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    SendEmailsRequest()  
  • Method Summary

    Modifier and Type Method Description
    SendEmailsResponse sendWith​(MailjetClient mailjetClient)
    Represents a method to send multiple transactional emails Note: Mailjet send API v3.1 will be used Note: Max 50 emails per batch allowed

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SendEmailsRequest

      public SendEmailsRequest()
  • Method Details

    • sendWith

      public SendEmailsResponse sendWith​(MailjetClient mailjetClient) throws MailjetException
      Represents a method to send multiple transactional emails Note: Mailjet send API v3.1 will be used Note: Max 50 emails per batch allowed
      Parameters:
      mailjetClient - the Mailjet client that will be used to send messages
      Returns:
      A response with sent messages information, or error information
      Throws:
      MailjetException - in case of communication error in HTTP stack, like, TLS connection couldn't be established to the Mailjet server Or the Server returned 5xx error, Or the Server returned the generic error response