The Mail screen is used to provide information on your SMTP server. This is required to distribute Stories via e-mail on a periodical basis.
To set up the SMTP Server Configuration, please fill out the following fields:
- Select your Authentication [
- Select the SASL Authentication, if required. Currently, OAuth 2.0 (XOAUTH2) is supported since release 220.127.116.11.
- Set the Host name
- Specify the Port
- Specify the Default address used for sending out mail
- Provide the username
- Provide the password (in case of OAuth 2.0, please provide the generated OAuth token).
Note on OAuth 2.0 usage
Usually OAuth tokens have a very short lifetime (from hours up to days). This means the configured SMTP token (password) must be updated/rotated often. Doing so through the UI is inconvenient.
For such cases CPM4 exposes SMTP Authentication API. This HTTP API could be leveraged by automated scripts. Please fine the API specification document attached below.