Generating Email output
The Email outputs HTML email with embedded formatting to an email client through the use of an email server. The HTML generated by this context is meant to be compatible with as many clients and as many devices as possible.
Email is sent in a single batch for the whole record set.
To test a template, you can send a test email first.
Output, generated from an Email template, can have the following attachments:
- The contents of the Print context, in the form of a single PDF attachment.
- Other files, an image or a PDF leaflet for example.
Attaching the Print context is one of the options in the Send (Test) Email dialog.
To learn how to attach other files, see Email attachments.
Before generating Email output
- Make sure that a data set is loaded, that any necessary files, such as images and attachments, are in place, and that the correct settings are selected (see below).
- You may want to rasterize certain elements, such as <div> elements, business graphics, or headings with a special font type. Rasterizing converts the element to a JPG or PNG image. This is very useful to support as many
clients as possible. For example,
some email clients may not support SVG, so converting a resource to JPG
instead would ensure that most email clients would actually see the output.
To rasterize an element, right-click it and select Rasterize options. For a JPG image you can set the quality of the resulting image in a percentage.
Email output settings in the Email context and sections
The following settings for the Email context and Email have an impact on how the actual emails are sent.
To generate Email output:
- Open a template with
an Email context.
- Load a data file or database compatible with this template. See Loading data.
- On the File menu, click Send Email or Send Test Email. In the dialog that appears you can, among other things, attach the Print context or the Web context to the email. See Send Email or Send Test Email for a description of all the options. Finally, click OK.
About testing emailsWhen you send a test email, the Email To Script will not be used; instead, the email will be sent to the address that you specify in the Send Test Email dialog. If you have a Litmus account, you can enter your Litmus test address. To make the test address appear by default, you can set the default test address in the Email Preferences: select Window > Preferences, click the arrow next to Email, click General and type the test address next to Email Test address. For a description of how to test your email for different email clients, see this how-to: Test your emails with Litmus. For more information on Litmus, please see http://litmus.com/
For a detailed description of how to use Mandrill with Connect to send and track emails, see the following how-to: Using Mandrill.
|
|