Represents the structure of an attachment. This interface is compatible with AttachmentLike of nodemailer. This API is experimental and might change in newer versions. Use with caution.

Hierarchy

Properties

Properties

content?: string | Readable | Buffer

Contents of the attachment stored in a string, buffer or stream.

path?: string | Url

File 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 Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.