sendEmail
  sendEmail component: send email.
# Configuration
| Field | Type | Description | Default value | 
|---|---|---|---|
| smtpHost | string | Smtp host address | None | 
| smtpPort | int | Smtp port | None | 
| username | string | Username | None | 
| password | string | Authorization code | None | 
| enableTls | bool | Whether to use tls mode | false | 
| Email content configuration | None | 
# Email configuration
| Field | Type | Description | Default value | 
|---|---|---|---|
| from | string | Sender address | None | 
| to | string | Recipient email, multiple separated by , |  None | 
| cc | string | Cc email, multiple separated by , |  None | 
| bcc | string | Bcc email, multiple separated by , |  None | 
| subject | string | Email subject, can using Component Configuration Variables. | None | 
| body | string | Email template, can using Component Configuration Variables. | None | 
# Relation Type
- Success: Execution successful, send the message to the 
Successchain - Failure: Execution failed, send the message to the 
Failurechain 
# Execution result
This component will not change the content of msg.Data and msg.Metadata.
# Configuration example
  {
    "id": "s1",
    "type": "sendEmail",
    "name": "Send email",
    "configuration": {
      "smtpHost": "smtp.163.com",
      "smtpPort": 25,
      "username": "xxx@163.com",
      "password": "authorize code",
      "email": {
        "from": "xxx@163.com",
        "to": "xxx@163.com,aaa@hotmail.com",
        "cc": "bbb@hotmail.com",
        "subject": "Test email 3",
        "body": "<b>Test content 3</b>"
      }
    }
  }
 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Application example
None
Edit this page on GitHub  (opens new window)
  Last Updated: 2025/09/03, 10:09:04