Sending Attachments with Digioh
You can send email attachments through Twilio SendGrid using the v3 Mail Send or v2 Mail Send endpoints, or distribute larger files up to 2GB through the Digioh integration. This page covers attachment size limits, best practices, and how to use Digioh.
The total message size of emails sent via the v3 mail send endpoint is limited to 30MB. This includes all headers, the body, and attachments. The maximum attachment size depends on the size of the rest of your message, but we recommend that your attachments do not exceed 10MB.
The total message size of emails sent via the v2 mail send endpoint is limited to 20,480,000 bytes, or approximately 19.5MB. This includes all headers, the body, and attachments. We recommend that your attachments do not exceed 7MB.
Info
Keep in mind that the size of your file on disk or in memory may not be the same as the size of the file once it is attached, as files must be encoded as text to be sent. You can expect an increase in size of up to 30%.
Attachments are in and of themselves potential risks when sending email. Email filters are more likely to prevent delivery of a message that has an attachment due to the risk of viruses.
A good alternative to attaching a file to your message is to place it on a page of your website, and then provide a link to that web page within your message body.
SendGrid has partnered with Digioh, a digital download distribution service. This allows you to send files up to 2GB in your SendGrid Marketing Emails. Digioh also allows you to track individual downloads and prevent non-subscribers from downloading files.
Digioh is integrated with SendGrid's Marketing Email solution.
Sign Up for a Free Digioh + SendGrid Account
To send emails with attachments via SendGrid, you can employ our SMTP Relay or our Web API v3.