Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. D s config
  2. 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,


    SettingDescription
    hostHostname 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.


    passwordPassword of the email account to use.
    enableSSL

    Set to true, if the SMTP server is configured to use SSL. Default is true. .

    Info

    NOTE: When SSL is enabled for the email server, its certificate cannot be self-signed.


    validateRegistrationEmailWhen 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.


  3. 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:

  1. D s config

  2. Edit the following settings:

    Code Block
    "webapp.emailSender": "<SENDER_EMAIL_ADDRESS>",
    "webapp.emailSenderName": "<SENDER_DISPLAY_NAME>",


    SettingDescription
    emailSender

    Enter an email account to use as the displayed sender of these emails.

    Tip

    Tip: You should enter a value here to mask the real user account that is specified for the SMTP server connection.


    emailSenderNameDisplay name of the sender of emails.


  3. Save your changes and restart the platform.

Test SMTP

  • If it's been enabled, you can reset user password. See Enable Self-Service Password Reset.
  • If email registration validation has been enabled, you can create a new user account to verify that the SMTP server is working.
  • If neither of the above is enabled, you can use an external testing method to verify that the SMTP server is working properly.

...