io.vertx.ext.mail

## Class MailResult

- java.lang.Object
- - io.vertx.ext.mail.MailResult

-     public class MailResult
      extends Object

  Represent the result of the sendMail operation
  Author:
    Alexander Lehmann

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MailResult()`
    `MailResult(JsonObject json)`
    `MailResult(MailResult other)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMessageID()`
    `List<String>` | `getRecipients()`
    `MailResult` | `setMessageID(String messageID)`
    `MailResult` | `setRecipients(List<String> recipients)`
    `JsonObject` | `toJson()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MailResult

          public MailResult()

    - #### MailResult

          public MailResult(MailResult other)

    - #### MailResult

          public MailResult(JsonObject json)

  - ### Method Detail

    - #### toJson

          public JsonObject toJson()

    - #### getMessageID

          public String getMessageID()

      Returns:
        the messageID

    - #### setMessageID

          public MailResult setMessageID(String messageID)

      Parameters:
        `messageID` - the messageID to set

    - #### getRecipients

          public List<String> getRecipients()

      Returns:
        the recipients

    - #### setRecipients

          public MailResult setRecipients(List<String> recipients)

      Parameters:
        `recipients` - the recipients to set

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2024 Eclipse. All rights reserved.