SMTP
About
smtp is a special system where you can only send an email.
Built-in connection
The default connection is the smtp connection.
Smtp Server Connection creation
To create a smtp connection, you have the following possibilities
In a Connection Vault, to define a smtp connection with the name mySmtp, you could write:
[mySmtp]
uri = smtp://localhost:587
user = user
pwd = secret
to = [email protected]; [email protected]
to-names = foo; bar
from = [email protected]
from-name = tabulify
tls = true
auth = true
With the tabli add command of the connection module, adding a smtp connection with the name smtpConnectionName:
tabli connection add "smtpConnectionName" "smtp://localhost:587"
Note that you can add all configuration as query properties of the uri.