Skip to content

Email Template and Fragments

Email Template

The email template must be developed like the other emails. In the section where the fragment should be inserted, use the following code:

html
{{insertEmailFragments}}

It is only used in Veeva. One important thing is that this section in the template where the fragment will be inserted must not have styles, like paddings, the styles should be added in the fragment. The email template should be added to favorites: Favorites

Email Fragments

The fragments should start with a table (the space for it in the template must be inside a <td> tag). You can use classes, if they are specified in the email template. The first line should be blank because it won't work without it, it's a Veeva bug. To test, you can copy the original template and add the fragment code in the place reserved for it by the variable.

Submiting

The email template and email fragments must be submitted to Veeva, the fragment must be linked to the template (see Submission Process).

Uploading Fragments for existing templates

Follow the described in the steps of the Email Fragments.