Package com.enonic.xp.mail

## Class MailAttachment

- java.lang.Object
- - com.enonic.xp.mail.MailAttachment

-     @PublicApi
      public final class MailAttachment
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `MailAttachment.Builder` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MailAttachment.Builder` | `create()` |
    `ByteSource` | `getData()` |
    `String` | `getFileName()` |
    `Map<String,​String>` | `getHeaders()` |
    `String` | `getMimeType()` |

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

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

- - ### Method Detail

    - #### create

          public static MailAttachment.Builder create()

    - #### getFileName

          public String getFileName()

    - #### getData

          public ByteSource getData()

    - #### getMimeType

          public String getMimeType()

    - #### getHeaders

          public Map<String,​String> getHeaders()