Send emails with attachments.
path
parameter to send attachments from a remote file. This parameter accepts a URL to the file you want to attach.
Define the file name that will be attached using the filename
parameter.
content
parameter to send attachments from a local file. This parameter accepts the Base64 encoded content of the file you want to attach.
Define the file name that will be attached using the filename
parameter.
cid:
to reference the ID in the src
attribute of an image tag in the HTML body of the email.
content_id
parameter in the attachment object (e.g. content_id: "logo-image"
).
The ID is an arbitrary string set by you, and must be less than 128 characters.
Learn more about embedding images.