Send email message

Due to a recent upgrade in Microsoft, multi-factor authentication (MFA) is now activated by default. To configure Microsoft 365 authentication in Azure with MFA deactivated, see Azure Configuration for Modern Authentication.

You can use this command to send an email message.

Email account tab

The settings available on the Email account tab vary for SMTP and Exchange servers.

Message tab

  1. (Optional) Click the button to access advanced address options for the email.

    Advanced address options:

    • Click the icon to:

      • Enter a long list of addresses (or addresses with display names) on the To: ,CC: ,or Bcc: lines

      • Enter addresses with display names on the From: or Reply to: lines

  2. Choose whether to send the email in Plain Text or Rich Text/HTML format.

  3. Enter recipient email addresses, subject, and attachments:

    • Separate multiple email addresses with commas.

    • Separate multiple attachments with commas. Identify attachments by the full file name and file path.

  4. Type the body of the email.

  5. Enter the name of the variable into which you'd like to store the result.

  6. Customize the codes or error messages for send results.

All of the following fields can include free text and/or variables:

  • Email addresses (To: ,CC:, Bcc:, From:, and Reply to:)

  • Subject

  • Attachments

  • Email body

    To include the value of a variable, indicate its name by typing it between dollar signs (e.g., $MyVar$). When the wizard is run, the variable name will be replaced by its value.

Line breaks in rich text emails

When sending an HTML/rich text email that contains "hard" line breaks, create a special character variable named, for example, HTML line break, and set its value to </BR>. Then use this variable to replace actual line breaks in your email text.

Example:

  1. Set a variable to define the line break.

  2. Use this variable to replace the actual line breaks in your rich text-formatted email.

    Result:

Using Credentials by variable functionality

The Credential by variable functionality allows you to create a dynamic connection to the credentials vault. The credential variable is associated with credential display name(s).

Since the credential variables are dynamic, if you export a wizard to another environment, make sure that the credentials associated with the variable are defined in the new environment's credential vault as well.