Content files have several properties determining which contents should be displayed
inline (displayed inside the 'note' window of the email client), which ones
should be sent as attachments, and which encoding has to be used for each
files (MIME parts encoding). From the content view,
click on the View/Properties menu. The Content Properties
box is displayed:
Name: Name of the content inside the project. The name is used
as a key to reference the Content in the
Contents
collection.
File name: Full path to the content file.
URL: When the content is a linked web page, the URL is indicated
here. Note that you can insert data source fields in the URL by right
clicking in the text area.
Disposition: Select Message body if you want the content
to be displayed within the message body,select Attachment if you want the file
to be sent as an attachment and select Inline if you want that
content to be displayed inside the receiving email client's under the
message body.
Encoding: Set what MIME encoding type the content file should
be rendered in. A message having several content files can use different
encoding techniques for each part. Select Auto to have eMill default
to the optimized value. Otherwise, use Quoted Printable for text and
html, and Base64 for all other formats.
Language: Set the language used by the script engine to format date, time, number, etc.
If the content is a linked web page and if the web page is not
available in the language indicated here, it will be displayed according to
the web page default parameters.
Charset: Select the charset that corresponds to the language used
in this specific content. The default charset is set from the Project
General Properties box. If your content includes several languages, select the Unicode UTF-8 from the scroll down list.
If the content is a linked web page and if the web page is not
available in the charset indicated here, it will be displayed according to
the web page default parameters.
Content-Type: The MIME content type. This value is automatically
set by eMill.
Content-Description: Use it as a reminder if you have several content
files in your message. The description will also be written in the MIME source
in the attachment parts and may be displayed by mail clients.
Contains script code to be executed: Checked if there are
server side scripts embedded
inside the content.
Convert to PDF: This option lets you send attachments in Portable Document
Format (PDF). eMill will only convert text or html files to PDF (upon rendering).
All other formats require source files to be converted to PDF using Acrobat
before importing into a project. Check Adobe's
web site for more information about the PDF format.
Compress as ZIP: This option lets you send attachments in ZIP format to
save space. When zipping Html files, embedded images will also be added to
the zip.
Embed external images: only for html content. When this option is
checked, eMill will download and include in the message external images
referenced in the HTML content.
Auto-generate an alternate text part: Allows eMill to automatically
create and add a new alternative text content generated from this content
during rendering. This option is only available from HTML content.
Conditions:
This option lets you configure whether the content is enabled or not:
* Select "Enable this content" if you always want the content
included in the message.
* Select "Disable this content" if you never want the content
included in the message.
* Select "Test the following conditions" if you want the
content included according to conditions results. It allows you to test the value of
database fields. Click on the Add, Edit or Remove buttons to respectively
add a condition, edit an existing condition or remove a condition.
Content and client specifics: email clients
usually display some content in a 'message note' window and show a list of
attachments that can be opened from the client or from an external application.
However, there are no universal rules. Users can set their client not to display
html for instance, in which case html content will show as an attachment
with an alternate text file displayed instead. The configuration of the client
may also affect how the message will appear (client scripts disabled, or
missing plug-ins).
eMill provides you with the option to choose which order to encode
the MIME parts: each content file is rendered to form one single MIME file
with separated boundaries. In most cases, the first part of the MIME file
will be displayed first in the 'message note' window, while following parts
are either displayed in the order they are received, or shown as attachments.
HTTP Settings:
This tab appears when a content is created from a link to a web page. The options below allow you to send data to your web page: receivers list fields, server variables, session items or constants.
Encoding
Charset: Specify the charset used for sending data.
Encoding type: Configure the encoding type used for sending data. Choose the "multipart/form-data" encoding type if you want to send data in a binary format.
To add a data to send, click on Add ; to modify a data to send, select the element in the list and click on
Edit ; to delete a data to send, select the element in the list and click on
Remove.
Method
URL: Select this method to send data as parameters of your web
page URL.
POST: Select this method to send data as parameters of your web
page form (it simulates a click on a 'Submit' button).
Send a single field: Check this option to define a data to send.
Name: Give a name for the data to send.
Record field: Allows you to send data from the receivers list. Ex.: Enter 'email' in the name field, then, select 'Record field' and choose the 'Email' field in the list box. With the URL method, you will send the data in the following format: http://www.webpage.com/?email=receivers@receivers.com.
Session item: Allows you to send the value of a Global Script Session Object item. Ex.: Enter 'Test' in the name field, then, select 'Session item" and enter the name of the Session item. With the URL method, you will send the data in the following format: http://www.webpage.com/?Test=SessionItemValue.
Server variable: Allows you to send a value of the ServerVariables collection from the Request object (PROJECT_PATH, CONTENT_NAME, etc.). See Script Server Guide.
Constant: Allows you to send a constant value. Ex.: Enter 'Note' in the name field, then, select 'Constant' and enter 'April2006'. With the URL method, you will send the data in the following format: http://www.webpage.com/?Note=April2006.
Send a field set: Check this option to define a data to send.
Prefix: This field is not mandatory but can be useful to prefix each sent data.
Record fields: Allows you to send the values of all the receivers list fields. For instance, if you have a list with the columns 'Name' 'FirstName' 'Email' et 'Phone' and with the URL method, you will send the data in the following format: http://www.pageweb.com/?Name=ContactName&FirstName=ContactFirstName&Email=email@email.com&phone=ContactPhoneNumber.