WebRunner Beans

SMTPSession Bean   API Documentation

Use the SMTPSession bean to send electronic mail messages via a mail server using the simple mail transfer protocol (SMTP).

To use an SMTPSession bean within the WebRunner Bean Tester, first select the SMTPSession bean in the bean palette and add it to the Bean Tester working area. Then press the Customize... button at the bottom of the properties window to bring up the customizer:

To establish a connection to a mail server, enter the mail server name and your full email address in the associated Preferences fields. You can send any number of messages by entering the sender's full email address in the To field and the text of your message in the message area, and pressing the Send Mail button. You can also specify a Subject line and cc: recipients of the message.

Note: The Properties list also shows the sustainedSession property that you can assign the values True or False. By default this property is always set to True, meaning that your session is sustained (your connection to the specified server is maintained) until you press the Quit Session button on the customizer.


Copyright © Taligent, Inc. 1996 - 1997.
Copyright
© IBM Corporation 1996 - 1997.
All Rights Reserved.