Sending transactional emails relies on the relationship between your recipients and your business. These emails help your recipients, and so should your attachments. For example, when a customer books a room at your hotel, you could attach a brochure to highlight the services you offer in your confirmation email.
There are two options to add an attachment to a transactional email:
Good to know
- You can also add an attachment to your email campaigns. To learn more, check our dedicated article Add an attachment to an email campaign.
Add an attachment to your email template
There are technical limitations to adding an attachment to your email template:
If you add an attachment to your email template, you can only send your transactional email to a maximum of 99 recipients.
The size limit for transactional emails is 20MB, including the attachment and email content.
If your transactional email exceeds this size limit, we recommend hosting your file elsewhere, providing public access to the hosted file, and sharing the link to it in your email template. Doing so would ensure that your link is valid and that your file can be downloaded by the recipients.
Allowed extensions for attachment files: ics, xlsx, xls, ods, docx, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, msg, pub, mobi, ppt, pptx, eps.
To attach a file to your email template:
- At the Setup step of your email template, click Show Advanced Options.
- Select a file in the Add an attachment field.
Include an attachment in your API script
There are technical limitations to including an attachment in your API script:
If you add an attachment in your API script, you can only send your transactional email to a maximum of 99 recipients.
The size limit for transactional emails is 20MB, including the attachments and email content.
Allowed extensions for attachment files: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg, wmv, pkpass and xlsm.
Using our API, you can either include files you are hosting or the base64 content of the attachment in your API script. To learn more, check our dedicated API documentation.
🤔 Have a question?
If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.
If you’re looking for help with a project using Brevo, we can match you with the right certified Brevo expert partner.