Try OpenEdge Now
skip to main content
Managed Adapters Guide
Email Managed Adapter : Working with the Email Adapter : Configuring the Email Adapter : Defining messages
 
Defining messages
The Email Adapter can generate MIME multipart messages. Each part can contain different types of data and be generated by a different format plug-in.
To define a multipart message:
1. Click Add in the Message tab of the Email Adapter Configurator. Body is automatically added in the form of a row to the table.
Note: If you choose the Format plugin as Attachment, the email will have only the Attachment and no other content.
2. Click the new row in the Format Plugin column, and choose one of the displayed options. These options are:
Plug-in type
Description
Velocity Template
For plain text, XML, HTML, PostScript and other formats, all generated with the Velocity template engine. For more information on this plug-in, see Usingthe Velocity Template plug-in.
Text
Generates simple text messages. The message content is usually mapped from a CHARACTER dataslot. For more information on this plug-in, see Usingthe Text Format plug-in
XML
Populates predefined XML forms using XPath expressions. For more information on this plug-in, see Usingthe XML Format plug-inUsing the XML Format plug-in on page 11.
Attachment
Adds a file attachment to the message. The file can either be from the server’s file system or can be mapped from a Document dataslot. For more information on this plug-in, see Usingthe Attachment plug-in. If you choose the Format plugin as Attachment, the email will have only the Attachment and no other content.
Note: You can also use any custom format plug-ins you may have already developed. For more information on developing plug-ins for custom data formats, see Writing custom format plug-ins topic in Progress OpenEdge Business Process Modeler: User's Guide.
3. After you have selected a Format Plug-in option, a default MIME type is automatically added to the MIME Type column. Click in this column to modify the data type.
4. After you add Body and Attachment, use the Move Up and Move Down buttons to place the parts in the proper sequence. Use the Remove button to remove an entry from the table.