This howto shows you how to create a smtp connection to a SMTP system
An oracle connection supports :
Here are the attributes of the howto connection
comment: HowTo Smtp Connection
from: [email protected]
to: [email protected]
uri: smtp://localhost:1025
You can create an Smtp connection:
In this howto, the password is expected to be stored in the TABUL_MY_SMTP_PASSWORD OS environment variable but there is more way to provide secrets.
To know how to pass and handle secrets, read more at Secret Value
In a Configuration Vault, to define a smtp connection with the name mySmtp, you could write:
connections:
mySmtp:
uri: smtp://localhost:587
user: user
password: ${TABUL_MY_SMTP_PASSWORD}
to: Big Foo <[email protected]>, Big Bar <[email protected]>
from: The Tabulify <[email protected]>
tls: true
auth: true
With the tabul add command of the connection module, adding a smtp connection with the name smtpConnectionName:
tabul connection add "smtpConnectionName" "smtp://localhost:587" \
--user login \
--password '${TABUL_MY_SMTP_PASSWORD}' \
--attribute "[email protected]"