Description

Sends an email message using the SMTP protocol.



Properties

Logon

  • Email - The email account used to send the email.

  • Password - The password of the email account.

Host

  • Port - The port that the email message would be sent through.

  • Server - The email server host to be used.

Sender

  • From - The email address of the sender.

  • Name - The displayed name of the sender.

Options

  • IsBodyHtml - Specifies if the body of the email message is in HTML format.

Receiver 

  • Bcc - The hidden recipients of the email message.

  • Cc - The secondary recipients of the email message.

  • To - The main recipients of the email message.

Email

  • Body - The body of the email message.

  • Subject - The subject of the email message.

Common

  • ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.

Attachments

  • Attachments - A collection of objects to be attached to the mail message.

Forward

  • MailMessage - The message to be forwarded. This field only supports MailMessage objects.

Misc

  • DisplayName - Renames the activity.


Example

  1. Add a Send SMTP Mail activity inside the initial Sequence.
  2. In the Send SMTP Mail To field, type the email address of the main recipient of the mail. In this example, it is nicolerivers@gmail.com.
  3. In the Send SMTP Mail Subject field, write Weekly Report.
  4. In the Send SMTP Mail Body field, write the content of the mail.
  5. In the Send SMTP Mail Port field under Attributes, write 587.
  6. In the Send SMTP Mail Server field, write smtp.gmail.com.
  7. In the Send SMTP Mail Email field still under Attributes, write the email address of the sender of the mail.
  8. In the Send SMTP Mail Password field, write its password.
  9. In the Send SMTP Mail From field under Attributes, write the email address of the sender of the mail again.

    The use case should look as the following screenshot:



After execution, a mail should be sent to nicolerivers@gmail.com containing the specified subject and body.