Attachment content
name of the attachment, for example book.pdf
Base64 encoded content, for example: fs.readFileSync('/Folder/book.pdf').toString('base64')
id of the attachment, in case we are referencing it, for example: cid:123book.pdf
content type (json, image, etc)
length of the message
Optional
Attachment content
Param: Name
name of the attachment, for example book.pdf
Param: Content
Base64 encoded content, for example: fs.readFileSync('/Folder/book.pdf').toString('base64')
Param: ContentID
id of the attachment, in case we are referencing it, for example: cid:123book.pdf
Param: ContentType
content type (json, image, etc)
Param: ContentLength
length of the message