Skip to main content
Version: current

send


tool/e-mail/send

Type: Command

ArgumentTypeDescription
serveralt { 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.
portnumSMTP server port. If not specified, the value from the server configuration is used.
tomulti { array-id, to: string }Destination email address. Single address allowed.
ccmulti { array-id, cc: string }Send a copy to listed recipients. Multiple addresses allowed, separated by commas.
fromstringName or email address that will appear as the sender. If not specified, the value from the server configuration is used.
subjectstringThe subject of the message.
bodystringThe body text of the email message.
filemulti { array-id, file: file }List of file names to attach to the email, separated by commas.
userstringUsername used to authenticate to an SMTP server. If not specified, the value from the server configuration is used.
passwordstringPassword used to authenticate to an SMTP server. If not specified, the value from the server configuration is used.
tlsenum (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-verificationenum (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.