Send
Email
Sends an e-mail message asynchronously.
Inputs
- Collaboration
- The current collaboration object.
- Message
- A String that contains the text of the e-mail message.
- Subject
- The subject line of the e-mail message.
- Recipients
- A Vector that contains e-mail addresses of the message recipients. This
Vector contains String objects.
Notes
The Send Email function block can send an e-mail message to the recipients specified in
the input Recipients vector if:
- An e-mail 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 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 e-mail recipient (assuming that the Email
collaboration and adapter are running). The Send Email function
block enables you to explicitly send an e-mail message.
Related information
This function block is based on the BaseCollaboration.sendEmail()
method. For more information, see sendEmail().
