Java Documentation

Send and receive emails in Java applications and tests. Create real email addresses on demand.

UploadAttachmentOptions

Options for uploading files for attachments. When sending emails with the API that require attachments first upload each attachment. Then use the returned attachment ID in your SendEmailOptions when sending an email. This way you can use attachments multiple times once they have been uploaded.

Properties

Name Type Description Notes
base64Contents String Base64 encoded string of file contents [optional]
contentType String Optional contentType for file. For instance `application/pdf` [optional]
filename String Optional filename to save upload with [optional]