content |
string | Buffer |
Attachment content that can be either buffer or string. |
contentId? |
string |
(Optional) The content ID of the email attachment. This allows images to be embedded within the HTML document. |
name |
string |
Name of the attachment, should be in a filename format with extension indicating content type. |