Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/
UploadAttachmentOptions
Optional
contentOptional contentId for file.
UploadAttachmentOptions
Optional
contentOptional contentType for file. For instance application/pdf
UploadAttachmentOptions
Optional
filenameOptional filename to save upload with. Will be the name that is shown in email clients
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.Export
Interface
UploadAttachmentOptions