Email Configuration

Secret Server sends outbound email for notifications, access-request approvals, email two-factor authentication, and similar system-generated messages. The configuration surface differs between Secret Server Cloud (SSC) and Secret Server On-Premises (SSOP).

Secret Server Cloud

For Cloud tenants, Delinea manages the outbound mail relay. Tenant administrators configure only the From-address branding:

  • From Email Address: The "From" address that appears on emails sent by the tenant.

  • From Email Name: The display name shown alongside the From address (for example, No Reply).

To edit these values, search for Email, click Edit, update the fields, and click Save. Click Send test email to confirm delivery before saving changes that may affect production users.

Secret Server On-Premises

For on-premises installations, administrators configure the full SMTP or O365 connection. Search for Email, click Edit. In the Send email method field, select one of the following methods and enter the required fields:

  • SMTP

    • Email Server: The domain name or IP address of the SMTP server (for example, smtp.yourcompany.com).

    • Port: The TCP port used to connect to the SMTP server.

    • From Email Address: The "From" address for emails that are sent.

    • Username: The username used to authenticate to the SMTP server.

    • Password: The password used to authenticate to the SMTP server.

  • O365

    • Send Email Application Secret: The Azure App Registration secret for the Office 365 account used to send mail via the Graph API.

    • From Email Address: The "From" address for emails that are sent.

For the O365 method, the secret must be created in Secret Server before configuring this page. The Azure Application Secret must contain the Client ID, Client Secret, and Tenant ID for the Azure Application Registration, with Application Permissions granted.
If virus protection is running on the application server, you may need to add a firewall rule to allow aspnet_wp.exe to send mail.
For the SMTP SSL hardening recommendation, see the Require SMTP SSL entry in the Security Hardening Guide.

Email Message Headers

Starting in Secret Server 12.0.000020 (On-Premises) and the December 2025 Cloud release, administrators can add custom email headers that Secret Server includes in every system-generated email: notifications, event subscriptions, access-request approvals, email two-factor authentication pin codes, and report deliveries. This is available for both Secret Server Cloud and Secret Server On-Premises.

A typical use is mail classification. Organizations whose mail system routes, retains, or labels messages based on a header value, for example a Microsoft Purview Information Protection policy or a data-loss-prevention rule, can add the header name and value that their policy expects. Secret Server adds the header text as entered; it does not connect to Microsoft 365, select a sensitivity label, or verify the value against any label policy. How the header is interpreted is determined entirely by the receiving mail system and the policies configured there.

[SME: Chris McGinn — confirm whether a header named msip_labels (the Purview sensitivity-label header, which contains an underscore) is accepted. The current header-name validation allows only letters, digits, and hyphens, and the O365 send method prefixes names with X-, so this topic deliberately does not claim that a Purview sensitivity label can be applied. If a supported pattern exists, add it here as an example.]

Adding a header

  1. Search for Email and scroll to the Email message headers section below the send-method settings.

  2. Click Add Header. The Add email message header dialog appears.

  3. Enter the Header name and Header value, and leave Active selected to apply the header immediately. Clear Active to save the header without applying it.

  4. Click Save.

To change a header, click its name in the grid or choose Edit from the row menu. The row menu also offers Set Active or Set Inactive to toggle a header without deleting it, and Delete, which asks for confirmation.

Header rules

  • Header name: Letters, digits, and hyphens only, up to 255 characters. Names must be unique (case is ignored). The standard message headers From, To, CC, BCC, Reply-To, Sender, Date, Subject, Message-ID, MIME-Version, Content-Type, Content-Transfer-Encoding, and Received are reserved and cannot be used.

  • Header value: Required, up to 255 characters, ASCII text only, with no line breaks.

  • Only headers marked Active are added to outgoing email. Inactive headers are kept in the list but not sent.

Behavior by send method

  • SMTP (Cloud and On-Premises): Each active header is added to the message exactly as entered.

  • O365 (On-Premises only): The Microsoft Graph API accepts only custom headers whose names begin with X-. Secret Server adds that prefix automatically to any header name that does not already start with X-. For example, a header named Classification is sent as X-Classification.

Headers are read at send time, so a change applies to every email sent after you save it, including messages already waiting in the send queue. If a message cannot be sent, the normal email retry behavior applies; there is no separate failure mode for headers.

Email message headers are included when you export and import settings with Exporting and Importing Secret Server Settings.

[SME: Chris McGinn / Will Peterson — confirm which role permission is required to add or edit headers. Code review suggests View Configuration is sufficient for create and edit, which looks inverted relative to Administer Configuration; confirm the intended permission before this topic states one. Also confirm whether headers are replicated to disaster-recovery replicas.]

Related Topics