Send emails with attachments.
There are two ways to send attachments:
We currently do not support sending attachments when using our batching endpoint.
Include the 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.
Include the 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.
See the full source code.
See the full source code.
Send emails with attachments.
There are two ways to send attachments:
We currently do not support sending attachments when using our batching endpoint.
Include the 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.
Include the 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.
See the full source code.
See the full source code.