Using files as email attachments
You can attach files in cloud storage to your email messages. There are three ways you can attach a file to an email message.
- Attach File by Id to Email Message - Attaches a file identified by unique file id to the email message.
- Attach File from URL to Email Message - Attaches a file from a URL to the email message.
- Attach File To Email Message - Attaches the downloaded file to the email message.
In the below example, we have a messaging service where we email the invoice of a user's sales order.