OptionalcontentContents of the attachment stored in a string, buffer or stream.
OptionalpathFile path or URL (data URIs are allowed as well) if you want to read a file instead of including it (better for larger attachments).
Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.
Represents the structure of an attachment. This interface is compatible with
AttachmentLikeofnodemailer.