Oracle Workflow Guide
Release 2.6.2

Part Number A95265-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Plain Text E-mail with an HTML Attachment

If the performer of a notification has a notification preference of plain text mail with HTML attachments (MAILATTH), the notification is flagged as such in the Workflow Notification table. When the Notification Mailer polls the Notification table and identifies that flag, it generates a plain text e-mail notification with HTML attachments from the information in the table and sends it to the performer role. The performer role should use an e-mail reader that supports HTML attachments.

The Notification Mailer uses the Text Body defined for the message in the Message Body property page to generate the plain text body of the e-mail. It also generates an HTML version of the notification message and sends it as an attachment called HTML Message Body to the plain text e-mail. The Notification Mailer generates the content of the HTML attachment from the HTML Body defined for the message. If no HTML Body is defined, it uses the Text Body to generate the HTML mail. The Notification Mailer token replaces all message attributes referenced in the plain text message body with plain text values and token replaces all message attributes referenced in the attached HTML message with HTML-formatted values. See: Sending Plain Text E-mail and Sending HTML-Formatted E-mail.

If your e-mail reader supports HTML-formatting in the message body, then the HTML attachment will also appear in line in the message body.

Note: Message attributes that have Attach Content checked in their Attributes property page, are appended as HTML-formatted attachments. For example:

The notifications received by a user whose notification preference is 'Plain text with HTML attachments' always contain at least two attachments. The first attachment is HTML Message Body and the other is Notification Detail Link. When you select Notification Detail Link, your e-mail reader opens a browser window that displays your notification in the Notification Details web page. You can respond directly to your notification from this web page, bypassing the need to process your response through the Notification Mailer. See: To Respond to a Plain Text E-mail Notification with an HTML Attachment.

Note: If the SEND_ACCESS_KEY parameter in the Notification Mailer configuration file is set to N, and you are not already logged in, you will be prompted to log in when you select the Notification Detail Link before you can access the Notification Details web page.

Alternatively, a recipient of this type of notification can respond in one of two other ways:

Note: The file name of the HTML Message Body attachment is determined by the text value for the WF_HTML_MESSAGE resource token, or by the token name if no text value is defined. Similarly, the file name of the Notification Detail Link attachment is determined by the text value for the WF_URL_NOTIFICATION resource token, or by the token name if no text value is defined; and the file name of the Notification References attachment is determined by the text value for the WF_URLLIST_ATTACHMENT resource token, or by the token name if no text value is defined. The default file names are "HTML Message Body.html", "Notification Detail Link.html", and "Notification References.html", respectively. If you want to specify different file names for these attachments, you must first create a .msg source file specifying the new file names as the text values for the WF_HTML_MESSAGE, WF_URL_NOTIFICATION, and WF_URLLIST_ATTACHMENT resource tokens. Then use the Workflow Resource Generator program to generate a new Oracle Workflow resource file (wf<language>.res) from the source file and to upload the new seed data from the source file to the database table WF_RESOURCES. See: To Run the Workflow Resource Generator and Setting the WF_RESOURCES Environment Variable.


         Previous  Next          Contents  Index  Glossary


Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.