Send Email
Command description
Send email from an account such as QQ Mail or 163 Mail to any email address.
Configure the SMTP server and port, username, and authorization code. The authorization code is not the mailbox login password.
You may need to obtain an authorization code again after changing your email login password.
How to obtain an authorization code:
- QQ email: https://service.mail.qq.com/detail/0/75
- 163 Email: https://qiye.163.com/help/af988e.html
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| SMTP Server | str | For example, smtp.qq.com |
| SMTP Port | int or str | |
| Username | str | |
| Authorization Code | str | |
| Recipients | str | Supports multiple comma-separated addresses |
| CC | str | Supports multiple comma-separated addresses |
| BCC | str | Supports multiple comma-separated addresses |
| Subject | str | |
| Body | str | |
| html | bool | Whether to render the body as HTML; default: False |
| Attachments | str | Supports multiple comma-separated file paths |
Command Output Parameters
None