Class MessageReplyOptions

java.lang.Object
com.mailosaur.models.MessageReplyOptions

public class MessageReplyOptions extends Object
Options to use when replying to a message.
  • Constructor Details

    • MessageReplyOptions

      public MessageReplyOptions()
  • Method Details

    • withText

      public MessageReplyOptions withText(String text)
      Sets any additional plain text content to include in the reply. Note that only text or html can be supplied, not both.
      Parameters:
      text - Plain text content to include in the reply.
      Returns:
      the MessageReplyOptions object itself.
    • withHtml

      public MessageReplyOptions withHtml(String html)
      Sets any additional HTML content to include in the reply. Note that only html or text can be supplied, not both.
      Parameters:
      html - HTML content to include in the reply.
      Returns:
      the MessageReplyOptions object itself.
    • withAttachments

      public MessageReplyOptions withAttachments(List<Attachment> attachments)
      Sets any message attachments.
      Parameters:
      attachments - Any message attachments.
      Returns:
      the MessageReplyOptions object itself.