Sending outgoing email in HTML
RTF field support in Email Engine
Email Engine supports Rich-text-formatting (RTF) formatting applied to the text in the email messages. Also, you can see the attached images inline with the text.
The following are the limitations for the outgoing email notifications in Email Engine to support RTF functionality:
- The number of attachment fields in a mail must match the number of attachments.
- While creating the notification filter from the Fields list section, select all the attachment fields from the attachment pool associated with the RTF field.
- For using RTF fields with images, embedded images can only be sent by using the attachment pool with the RTF field.
- For attachments in the outgoing mails,
- Do not change the text in the Description field on Image options dialog box.
- Do not change the content of the alt and title attributes, because these are auto-generated by the Mid Tier, and will be used by the Email Engine for finding the name of the image.
- Do not copy-paste the images. You must insert the images using the image option on the RTF field. Otherwise, the images might not appear inline with the text.
To send outgoing messages in HTML
- Open the AR System Email Messages form in New mode to create an outgoing message.
For sample contents of an outgoing message, see Sending-outgoing-email-with-the-Email-Messages-form. - Click the HTML Body tab.
Enter HTML content, as shown in the following example:
Server: polycarp<BR>
Login:Francie Frontline<BR>
Password <input type="password" name="Password" size="15" maxlength="14"> <BR>
Key:1234<BR>
Action: Modify<BR>
Form:TestSecurityForm<BR>
Request ID: 000000000000003<BR>
Assigned To <input type="text" name="!4!" size="20" value="Assignee"> <BR>
Short Description <input type="text" name="!8!" size="40" value="Enter a short description"> <BR>
Status
<input type="radio" value="New" name="!7!"/> New
<input type="radio" value="Assigned" name="!7!" /> Assigned
<input type="radio" value="Fixed" name="!7!"/> Fixed
<input type="radio" value="Rejected" name="!7!"/> Rejected
<input type="radio" value="Closed" name="!7!"/> Closed
<BR>In addition to HTML formats, any label/value pairs that you include must follow specific syntax requirements. For more information, see Creating-and-using-email-templates
For how to define HTML, especially input type controls, see any standard HTML reference book or reputable online source, such as http://www.w3.org/ . Additional HTML examples are demonstrated in Sending-modify-instructions-in-HTML.- Click Send to send the mail from the outgoing mailbox to the user.
The Email Engine generates the email, as shown in the following figure:
An outgoing email in the HTML format
This outgoing email contains the following HTML input features:- Password control field—Users become nervous about sending passwords in clear text. For security, this HTML message includes a Password field as an input type. When the user enters their password, the text is masked; asterisks appear instead of the typed symbols or letters, as shown in the following figure:
A Password field with encryption - Text input fields—Users modify the contents of the Assigned To and Short Description fields by using text input fields.
- Radio buttons—Users modify the status by selecting an input type Radio control field. They can select only one radio button option.
For information about encoding user-defined markup text in outgoing email messages, see Encoding-user-defined-text-in-outgoing-HTML-email.
- Password control field—Users become nervous about sending passwords in clear text. For security, this HTML message includes a Password field as an input type. When the user enters their password, the text is masked; asterisks appear instead of the typed symbols or letters, as shown in the following figure: