Long transactional template
A starter template for more complex transactional emails that could contain multiple messages. This template is meant to be adapted and built upon.
Good For: | Not So Good For: |
---|---|
Complex transactions that include multiple messages or lists, such as: | Simple transactions that include a short message or major announcements, such as: |
Your answer was accepted | Account deactivated |
You’ve been added to a Team | New message from employer |
New Interests | Product announcement |
Tag digest | You have an unused search subscription |
Note: These templates are in Iterable and Hubspot. The code here can also be copied and pasted.
Emails in our codebase use a master template (eg. _Stacks-Layout.Html.cshtml
) that includes the <head>
, logo, and footer. Only the middle part of these templates are needed (between <!-- EMAIL BODY : BEGIN -->
and <!-- EMAIL BODY : END -->
code comments).