Emails
Sending emails is a common piece of functionality that is supported in many components throughout Seven20. Emails sent via these components are all sent via the Seven20 email service, which either uses the standard Salesforce email service or AWS, depending on your org configuration. Any emails sent by standard Salesforce components will always be sent via the Salesforce email service.
Templates
Templates can be selected and used to streamline the sending of emails throughout the app, see here for details.
Templated attachments are not supported and will be ignored.
Attachments
Attachments can be added to emails sent via the Seven20 email service, however there are some caveats. The total size of the email, including attachments, must be below 25MB. This is a fundamental limitation of email, and is not something that can be changed. If you attempt to send an email with attachments that exceeds this limit, the mailbox will reject the email and it will not be sent. The exact value of the limit may vary depending on the recipient's mail server, but 25MB provides good coverage for major suppliers.
Attachments are encoded for sending, so the actual size of the attachment will be larger than the file size. This means that you may need to reduce the size of the attachment to ensure it is below the 25MB limit. A good rule of thumb is to consider a 30% size inflation to account for encoding.
Send behaviour
The exact send behaviour depends on several factors, mainly the volume of recipients and the type of email being sent. The following table outlines the different send behaviours:
| Type | Recipients | AWS Enabled | Send Behaviour |
|---|---|---|---|
| Single | 1 | No | Synchronous |
| Single | 1 | Yes | Asynchronous |
| Mass | < 100 | No | Synchronous |
| Mass | < 100 | Yes | Asynchronous |
| Mass | > 100 | No | Asynchronous |
| Mass | > 100 | Yes | Asynchronous |
For single email sends, a single email message is sent, but it can have additional recipients as CC/BCC. For bulk email sends, a separate email message is sent for each recipient.