## Uses of Class
io.vertx.ext.mail.MailMessage

- Packages that use MailMessage
  Package | Description
  --- | ---
  io.vertx.ext.mail |
  io.vertx.ext.mail.mailencoder |
  io.vertx.reactivex.ext.mail |
  io.vertx.rxjava3.ext.mail |

- - ### Uses of MailMessage in io.vertx.ext.mail

    Methods in io.vertx.ext.mail that return MailMessage
    Modifier and Type | Method | Description
    --- | --- | ---
    `MailMessage` | MailMessage.`addHeader​(String key, String value)` | Add a message header.
    `MailMessage` | MailMessage.`setAttachment​(MailAttachment attachment)` | set a single attachment of this mail
    `MailMessage` | MailMessage.`setAttachment​(List<MailAttachment> attachment)` | set the list of attachments of this mail
    `MailMessage` | MailMessage.`setBcc​(String bcc)` | helper method for single recipient
    `MailMessage` | MailMessage.`setBcc​(List<String> bcc)` | set list of bcc addresses
    `MailMessage` | MailMessage.`setBounceAddress​(String bounceAddress)` | set bounce address of this mail
    `MailMessage` | MailMessage.`setCc​(String cc)` | helper method for single recipient
    `MailMessage` | MailMessage.`setCc​(List<String> cc)` | set list of cc addresses
    `MailMessage` | MailMessage.`setFixedHeaders​(boolean fixedHeaders)` | set whether our own headers should be the only headers added to the message
    `MailMessage` | MailMessage.`setFrom​(String from)` | set from address of this mail
    `MailMessage` | MailMessage.`setHeaders​(MultiMap headers)` | Set the headers.
    `MailMessage` | MailMessage.`setHtml​(String html)` | set the html text of this mail
    `MailMessage` | MailMessage.`setInlineAttachment​(MailAttachment inlineAttachment)` | set a single inline attachment of this mail
    `MailMessage` | MailMessage.`setInlineAttachment​(List<MailAttachment> inlineAttachment)` | set the list of inline attachments of this mail
    `MailMessage` | MailMessage.`setSubject​(String subject)` | set the subject of this mail
    `MailMessage` | MailMessage.`setText​(String text)` | set the plain text of this mail
    `MailMessage` | MailMessage.`setTo​(String to)` | helper method for single recipient
    `MailMessage` | MailMessage.`setTo​(List<String> to)` | set list of to addresses

    Methods in io.vertx.ext.mail with parameters of type MailMessage
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<MailResult>` | MailClient.`sendMail​(MailMessage email)` | send a single mail via MailClient

    Constructors in io.vertx.ext.mail with parameters of type MailMessage
    Constructor | Description
    --- | ---
    `MailMessage​(MailMessage other)` | copy object to another @link MailMessage object

  - ### Uses of MailMessage in io.vertx.ext.mail.mailencoder

    Constructors in io.vertx.ext.mail.mailencoder with parameters of type MailMessage
    Constructor | Description
    --- | ---
    `MailEncoder​(MailMessage message, String hostname)` | create a MailEncoder for the message
    `MailEncoder​(MailMessage message, String hostname, MailConfig mailConfig)` | Creates a MailEncoder for the message.
    `MailEncoder​(MailMessage message, String hostname, String userAgent)` | create a MailEncoder for the message

  - ### Uses of MailMessage in io.vertx.reactivex.ext.mail

    Methods in io.vertx.reactivex.ext.mail with parameters of type MailMessage
    Modifier and Type | Method | Description
    --- | --- | ---
    `Single<MailResult>` | MailClient.`rxSendMail​(MailMessage email)` | send a single mail via MailClient
    `Future<MailResult>` | MailClient.`sendMail​(MailMessage email)` | send a single mail via MailClient

  - ### Uses of MailMessage in io.vertx.rxjava3.ext.mail

    Methods in io.vertx.rxjava3.ext.mail with parameters of type MailMessage
    Modifier and Type | Method | Description
    --- | --- | ---
    `Single<MailResult>` | MailClient.`rxSendMail​(MailMessage email)` | send a single mail via MailClient
    `Single<MailResult>` | MailClient.`sendMail​(MailMessage email)` | send a single mail via MailClient