1.7

Table Of Contents
The language in which the script has to be written is JavaScript. For more information on
writing scripts, see "Writing your own scripts" on page552.
Other header fields
At some point you may need to define a header field that isn't available in the Preferences or in
the Email Fields. This can be done in a Control Script. For a few examples of such scripts, see
"Adding custom ESP handling instructions" on page880. To get started with Control Scripts,
refer to "Control Scripts" on page570.
Email SMTP settings
Simple Mail Transfer Protocol (SMTP) is the standard protocol for sending emails across the
Internet.
Default SMTP settings can be specified in the Preferences dialog: select Window >
Preferences, expand the Email preferences and click SMTP.
You can add as many presets as needed, for example for different Email Service Providers
(see "Using an ESP with PlanetPress Connect" on page879). To do this, click the Add button
at the right. Then fill out the following settings:
l
Name: The name of the preset. This will show up in the Send Email dialog.
l
Host: The SMTP server through which the emails are to be sent. This can be a host
(mail.domain.com) or an IP address.
l
Port: You can specify a port number. This will be added to the host name, for example:
smtp.mandrillapp.com:465.
l
Use authentication: Check this option and fill in the user name if a user name and
password are needed to send emails through the host. (The password has to be specified
in the Send Email or Send Test Email dialog.)
l
Start TLS: This option is enabled if authentication is checked. It sends emails through
Transport Layer Security (TLS), which is sometimes referred to as SSL.
When you click the Restore button, the presets for a number of Email Service Providers will
appear.
Page 345