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



Content: string
ContentID: null | string
ContentLength?: number
ContentType: string
Name: string