Sends an email message asynchronously.
- Collaboration
- The current collaboration object.
- Message
- A String that contains the text of the email message.
- Subject
- The subject line of the email message.
- Recipients
- A Vector that contains email addresses of the message recipients.
This Vector contains String objects.
The Send Email function block can send an
email message to the recipients specified in the input Recipients vector
if:
- An email address has been specified in the Email notification
address field in the Collaboration Object Properties dialog.
- The Email collaboration and Email adapter are running. (The Email
collaboration is instantiated and configured automatically when InterChange
Server Express starts up and does not require input from the user.) If
the Email adapter is not running, Send Email does not cause
execution of the collaboration to halt.
- Note:
- The Log Error function block automatically sends an error message to an email
recipient (assuming that the Email collaboration and adapter are
running). The Send Email function block enables you to explicitly send
an email message.
This function block is based on the BaseCollaboration.sendEmail()
method. For more information, see sendEmail().
