Package 

Class UploadAttachmentOptions


  • 
    public final class 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.

    • Constructor Detail

      • UploadAttachmentOptions

        UploadAttachmentOptions(String base64Contents, String contentType, String filename)
        Parameters:
        base64Contents - Base64 encoded string of file contents.
        contentType - Optional contentType for file.
        filename - Optional filename to save upload with.