Click New on the Adapter Manager toolbar and select “email.” You see the Adapter Builder.
Complete these options:
Name – the program fills in this field after you save the new adapter and enter the name.
ID – the adapter ID is a sequential number maintained by the system.
Description – the system automatically enters “Mail Adapter” in this field, which you can change if you want.
Type – displays the adapter type you chose after you clicked New.
Viewer – specifies the format in which to write the content. Currently, only HTML is supported.
Roles – select the available roles that can edit the adapter’s parameters and view the adapter log, and click Add. Click Add All to assign all available roles.
Parameters – for an e-mail adapter, the parameters are the values specific to writing the portlet’s content in an e-mail message; for example, the e-mail address, the subject line, and so on. You can change the display name or accept the default.
include_portlet – enter “true” or “false.” Set to true to write the portlet contents in the e-mail message. Set to false to write something in the msg_body field instead of including the portlet’s contents.
from_addr – enter the sender’s e-mail address.
subject – enter the text to appear as the message’s subject line.
msg_body – enter the text you want added to the body of the message. Normally, if you set include_portlet to true, you would not enter anything for this parameter.
If you set the first parameter to true and include a message, the text you enter displays before the portlet’s content and the entire e-mail message is sent to a MIME type of “text/plain.”
If you send only portlet content, the content type is set to a MIME type of “html.”
to_addr – enter the e-mail address of the recipient. To send the message to multiple recipients, enter the e-mail addresses as a comma-separated list.
Click Save As.
In the Save As dialog box, enter an adapter name and click OK.
Click Close to exit the Adapter Builder.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |