...
D s config Edit the SMTP settings:
Code Block "smtp.host": "<SMTP_HOST>", "smtp.port": "587" "smtp.username": "<EMAIL_ACCT_USERNAME>", "smtp.password": "<EMAIL_ACCT_PWD>", "smtp.enableSSL": true "smtp.validateRegistrationEmail": false, "smtp.rejectUnauthorized": true, "smtp.authenticated": true,
Setting Description host
Hostname of the SMTP server port
Port number to use to contact the SMTP server; the server listens for new email on this port.
587
is the default value.Tip Tip: SMTP port
25
can be used as a listening port, too.username
Username of the email account to use to send emails to users.
Info NOTE: This username appears in the email message.
password
Password of the email account to use. enableSSL
Set to
true
, if the SMTP server is configured to use SSL. Default istrue.
.Info NOTE: When SSL is enabled for the email server, its certificate cannot be self-signed.
validateRegistrationEmail
When set to true
, an email is sent to confirm registration to newly registered users, based on the configured SMTP server connection.rejectUnauthorized
When set to true
, the email server rejects any connection that is not authorized from the list of supported certificate authorities.authenticated
If you use an unauthenticated SMTP connection, set this value to false
.- Save your changes and restart the platform.
Configure email sender
You can configure the email address and display name of all emails sent from the
D s node |
---|
Steps:
...
D s config |
---|
Edit the following settings:
Code Block |
---|
"webapp.emailSender": "<SENDER_EMAIL_ADDRESS>",
"webapp.emailSenderName": "<SENDER_DISPLAY_NAME>", |
...
Enter an email account to use as the displayed sender of these emails.
...
Save your changes and restart the platform.
Test SMTP
D s item | ||
---|---|---|
|
...
Optionally, you can enable the
D s platform |
---|
Info |
---|
NOTE: This feature requires access to an SMTP server to send emails. |
Steps:
D s config method ws Configure the following three parameters:
Parameter Setting Email notifications Set this parameter to
enabled
to permit the platform to send email notifications. Default isdisabled
.Email notifications: on Job Failure Set this parameter to the default types of jobs that generate emails when they fail. Default is scheduled
.Email notifications: on Job Success Set this parameter to the default types of jobs that generate emails when they succeed. Default is never
.Tip Tip: The above defaults can be overridden for individual flows. See below.
For more information on the available settings, see Workspace Settings Page.
- To display correct images and links in the emails, please do the following:
D s config Locate the following parameter. Verify that its value is set to the host and port number of the
:D s platform Code Block "webapp.hostUrl": "http://example.com:3005"
- Save your changes and restart the platform.
...