How to set a custom name for the email sender in Constructor Learn

If an admin needs to modify or set the name for the email sender, follow these steps.

Standard email sender format

By default, the platform uses the following format for outgoing emails:

Constructor Platform <no-reply@constructor.app>

To customize this, update the mailsender.settings configuration.

Updating the email sender settings

  1. Navigate to the following configuration file: /portal/tenant-settings/current

  2. Add or modify the mailsender.settings value as follows:

    {
    "type": "custom",
    "from_address": "Custom Name <no-reply@somedomain.com>",
    "host": "somedomain.com",
    "port": 465,
    "login": "somelogin",
    "password": "somepassword",
    "use_ssl": true
    }
    • Replace Custom Name with the desired sender name.

    • Replace no-reply@somedomain.com with the appropriate email address.

    • Configure host, port, login, and password as per your email provider’s settings.

    • Set use_ssl to true or false based on your email provider’s security requirements.

Optional field: mail_stub

For testing purposes, you can include an additional optional field:

"mail_stub": "test-recipient@somedomain.com"
  • If this field is not empty, emails will be sent only to the specified recipient.

  • This helps prevent real users from receiving test emails.