Send email (SMTP)

更新时间:
复制 MD 格式

1. Component introduction

Note

Prerequisites: None

This component sends emails to one or more recipients. You must configure a mailbox account to use as the sender.

2. Inputs

Note

For information about each input parameter, see the help tips in the component panel of the ROS Visual Editor.

Important

The three email protocols included with this component require an authorization code for authentication. If you select a custom SMTP server, check if that server requires an authorization code for authentication.

3. Outputs

Note

For information about each output parameter, see the help tips in the component panel of the ROS Visual Editor.

4. Component usage example

4.1. Component configuration example

  1. In the Send Content section, parameters marked with an asterisk (*) are required. For Recipient, Carbon Copy, and Blind Carbon Copy, you can enter one or more email addresses. Separate multiple addresses with a semicolon (;).

  2. Set SMTP Server to "QQ Mail".

  3. Set SSL encryption to "No".

  4. Set SMTP configuration - Requires authentication to "Yes".

  5. For Username, enter the QQ Mail account. The username is the same as the sender's email address.

  6. For Authorization Code, enter the QQ Mail authorization code. For more information about how to obtain an authorization code, see QQ Mail Authorization Code.

  7. Use the default values for the advanced options.

4.2. Example execution result

When the flow runs successfully, an email is automatically sent to the specified recipients.