send
tool/e-mail/send
Type: Command
| Argument | Type | Description |
|---|---|---|
| server | alt { ipv6: ip6Addr , ip: ipAddr , fqdn: string } | SMTP server IP address, IPv6 address, or FQDN. If not specified, the value from the server configuration is used. |
| port | num | SMTP server port. If not specified, the value from the server configuration is used. |
| to | multi { array-id, to: string } | Destination email address. Single address allowed. |
| cc | multi { array-id, cc: string } | Send a copy to listed recipients. Multiple addresses allowed, separated by commas. |
| from | string | Name or email address that will appear as the sender. If not specified, the value from the server configuration is used. |
| subject | string | The subject of the message. |
| body | string | The body text of the email message. |
| file | multi { array-id, file: file } | List of file names to attach to the email, separated by commas. |
| user | string | Username used to authenticate to an SMTP server. If not specified, the value from the server configuration is used. |
| password | string | Password used to authenticate to an SMTP server. If not specified, the value from the server configuration is used. |
| tls | enum (no | yes | starttls) | TLS encryption mode. yes - sends STARTTLS and drops the session if TLS is not available on the server. no - does not send STARTTLS. starttls - sends STARTTLS and continues without TLS if the server responds that TLS is not available. Default: no. |
| certificate-verification | enum (no | yes | yes-without-crl) | TLS certificate validation. yes - validates the certificate chain from the local certificate store. yes-without-crl - validates the certificate without performing a CRL check. Default: no. |