Class EmailSubmittedResponse.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • messageId

        public EmailSubmittedResponse.Builder messageId​(String messageId)
        The unique ID for the email’s Message-ID header used for service log correlation.

        The submission will return an error if the syntax is not a valid RFC 5322 Message-ID. This will be generated if not provided. Example: sdiofu234qwermls24fd@mail.example.com

        Parameters:
        messageId - the value to set
        Returns:
        this builder
      • envelopeId

        public EmailSubmittedResponse.Builder envelopeId​(String envelopeId)
        Email Delivery generated unique Envelope ID of the email submission.

        If you need to contact Email Delivery about a particular request, please provide the Envelope ID.

        Parameters:
        envelopeId - the value to set
        Returns:
        this builder
      • suppressedRecipients

        public EmailSubmittedResponse.Builder suppressedRecipients​(List<EmailAddress> suppressedRecipients)
        Return list of suppressed email addresses.
        Parameters:
        suppressedRecipients - the value to set
        Returns:
        this builder