What is the smtp Connection ?
About
A smtp connection is a connection to a SMTP server system.
Howto
Default Name
smtp is the default connection name of the sendmail operation if not specified .
Attributes
You can modify the following parameters
In the URI, the host is mandatory.
| Name | Default | Type | Description |
|---|---|---|---|
| URI | uri | smtp://host[:port] | |
| PORT | 25 | integer | the smtp port |
| FROM | user@fqdn | One Internet Address | the default from address if none is provided |
| TO | One or more Internet Addresses | the default to address if none is provided | |
| TLS | false | boolean | enable secured communication with TLS |
| DEBUG | false | boolean | toggle for debug statement |
| AUTH | false | boolean | is the authentication mandatory |
| Inherited from built-in connection attributes | |||
| USER | characters | the connection user | |
| PASSWORD | characters | the connection password. See secret | |