| Argument | Type | Description |
|---|
| server | alt { ipv6: ip6Addr
, ip: ipAddr
, fqdn: string
} | SMTP server IP address, IPv6 address, or FQDN. Default: 0.0.0.0. |
| port | num | SMTP server port. Default: 25. |
| 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. |
| vrf | enum | VRF on which the service creates outgoing connections. Default: main. |
| from | string | Name or email address that will be shown as the sender. Default: <>. |
| user | string | Username used for authenticating to an SMTP server. Default: "". |
| password | string | Password used for authenticating to an SMTP server. Default: "". |
| 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. |