Send emails using the email service provider
You can use the email service provider to send out emails automatically to one or more recipients during workflow run time.
Before you begin
- To configure server-wide settings for sending emails, select Configure email.
- To allow email messages to be sent, select Send email.
Procedure
- In the navigator, click .
- In the Displays panel, click Email.The Email Configuration Setup window appears.Note: You must configure all required fields in order to avoid errors.
- Enter the relevant data in each of the following fields.
- To add recipients to an email distribution list, add an IDirectorySearch service provider to the workflow.
- Drag and drop a second Call Method activity into the subprocess.
- To send emails during workflow execution, add one of the following email service call methods:
Select... To send an email to... SendEmail several recipients. SendEmailFromPerson a single recipient from a specific sender. To include this sender, in the Sender field, click the ellipsis button, and then select the user. SendEmailSingle a single recipient from the preconfigured sender. Note: Ensure that each recipient has an email address associated with his account. - In the Recipient(s) field, select Bind from the drop-down arrow.The Select Variable dialog box appears.
- From the Call Method activity that contains the Search call method, select the ReturnValue, and then click OK.
- Optional: To configure other fields, from the Inputs section:
In this field... Enter text to include... Body within the email's body section. Subject in the email's subject line. - Click Save.