Send Email
The Send Email action A feature that supplies the instructions in a botflow. sends an email using a botflow A file that stores the actions and variables designed to automate tasks. to one or more recipients.
Note: Sending a large number of email messages, or including a large number of recipients, may cause your email message to be blocked. When possible, be sure to include a valid From email address, as well as a Subject to reduce the probability of your email messages being categorized as spam.
Using the Send Email action, you can:
- Send regularly scheduled emails to a list of recipients.
- Distribute attachments.
Some examples of using the Send Email action are to:
- Distribute a newsletter to members of a group.
- Send notifications to account holders.
- Set up automatic reminder messages.
Add a Send Email action to a botflow
This example provides the steps necessary to add an Send Email action to a botflow.
To add a Send Email action to a botflow:
- Create a Credential to use your email account authentication from within the botflow.
- Click Add Item () on the Botflow Pane.
- Click Credential.
- Type a Name for the credential.
- Type a unique Username.Note:
- The username cannot match the name of any other credential in the botflow.
- For email, the username is the email address.
- Type the value of the Password and confirm it to ensure that the correct value has been submitted.
- (Optional) Select Never save protected values with botflow.
- (Optional) Type Notes to document any special instructions or functionality.
- Click OK to save the credential.
- Add an email account to your botflow.
- Click Add Item () on the Botflow Pane.
- Click Email.
- Account
- Letter: Displays the default connection letter A rule that controls the connection to a target or application..
- Email: Displays the email account information created in Credentials. If more than one credential is available, select the required credential from the drop-down list.
- Authentication: Select Yes to require an SMTP Password for login.
- Confirm Password: Enter the email authentication password.
- Purpose: Select to:
- Send & Receive: Both the Send Email (SMTP) settings and the Receive Email (IMAP) settings must be configured.
- Send only: Only the Send Email (SMTP) settings must be configured.
- Receive only: Only Receive Email (IMAP) settings must be configured.
- Test Settings: Click to validate the entered Email Account information.
If the test is successful, a test email is sent to the email address provided in the Email field.
- Send Email (SMTP)
- Name: Enter an email display name for the email From field.
- Server: Enter the SMTP Server name or IP address.
- Port: Enter the required port number.
- SSL: Select Yes to send email using SSL.
- Receive Email (IMAP)
- Server: Enter the IMAP Server name or IP address.
- Port: Enter the required port number.
- SSL: Select Yes to receive email using SSL.
- On the Actions list, click Email and then click Send Email from the Email list.
To create a credential:
Note: In compliance with companies that have a policy against saved passwords, when selected, neither the password nor any of the Additional Field values are saved in the botflow. This option is for use in an attended bot situation where the user must first enter the password and/or Additional Field values before botflow runs, either by using the Credential Prompt action or by manually setting those values.
To create an email account:
The Email window displays.
The Send Email Action Builder window displays.
- Set the Send Email settings.
To: Type an email address or email addresses into the To field.
Subject: Type a subject into the Subject field.
Attachment: Type in the attachment location in the Attachment field.
Message: Type a message into the Message field.
More: Click More to display additional fields.
- If needed, adjust the Rule settings to modify how Nintex RPA finds the application target.
- If needed, adjust the Run Error Task settings to fine tune how the action runs.
- View the action Details settings.
- If needed, adjust the Run Switch setting to create the action without running it.
- Optionally, add an action note.
- Click OK to add the Send Email action to the botflow.
If you will be using your account to routinely send email, consider using Account Preferences to store your Email Preferences.
To set Email preferences:
- Click Account from the Nintex RPAMenu Bar.
- Click Preferences in the Account Panel.
- Click Email.
- Email: Enter the email address. This address displays in the email From field.
- Authentication: Defaults to Yes and requires SMTP Password for login.
- Password: Enter the email authentication password.
- Purpose: Defaults to Send and Receive. Select to Send only or Receive only if required.
- Name: Enter an email display name for the email From field.
- Server: Enter the SMTP Server name or IP address.
- Port: Defaults to 25. Enter a different port number if required.
- SSL: Defaults to No. Select yes to send email using SSL.
- Server: Enter the IMAP Server name or IP address.
- Port: Defaults to 993. Enter a different port number if required.
- SSL: Defaults to Yes. Select no if receiving email using SSL is not required.
- Click OK to save the changes.
The Preferences window displays.
The Email configurable fields display.
Account
Send Email (SMTP)
Receive Email (IMAP)
Field or button | Description |
---|---|
Send Email Options/Settings | General
Note: Multiple field entries must be separated by a semi-colon, comma, or pipe character.
|
Rules |
Note: Selecting Current Email requires that the email action be inside of the Loop Email action.
|
Details |
When directed by Nintex Support, click Details from the Preview Panel of the Action Builder. If needed, Nintex Support will supply additional information. |
Run error task |
|
Note |
(Optional) Type a Note to document any special instructions or functionality.
|
Run Switch |
The Run Switch toggle controls how Nintex RPA runs an action when adding or editing an action in a botflow.
|
OK/Cancel | Click OK to save the action or click Cancel to discard the action or any changes. |