Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • Attachment

Index

Constructors

  • new Attachment(Name: string, Content: string, ContentType: string, ContentID?: null | string, ContentLength?: number): Attachment

Properties

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