Network Management

Email alerts or NCM notifications fail with error: "An invalid character was found in the mail header: ';'"

Automated email alerts from the SolarWinds Platform or Network Configuration Manager (NCM) Real-Time Change Detection (RTCD) fail to send. While alert triggers, syslog pattern matches, and configuration downloads succeed, the notification email is never dispatched. System logs record a fatal System.FormatException: An invalid character was found in the mail header: ';' during message construction.

First published date

11/25/2026 9:24 PM

Last published date

11/25/2026 9:24 PM

Overview

When configuring email notifications across the SolarWinds Platform, administrators commonly configure multiple recipient addresses separated by semicolons (;). However, if a delimiter such as a trailing semicolon, comma, or trailing whitespace is inadvertently placed in the From / Sender Email Address field or SMTP Default Sender field (e.g., SolarWinds@domain.com;), the underlying Microsoft .NET email engine fails header validation.

This causes message construction to abort with System.FormatException before the notification engine can open an SMTP transmission channel.

Symptoms

Scenario A: NCM Real-Time Change Detection (RTCD)

In C:\ProgramData\SolarWinds\Logs\Orion\NCM\NcmBusinessLayerPlugin.log:INFO SolarWinds.Cirrus.BusinessLayer.Mail.EmailSender - Sending email to admin@domain.com from SolarWinds@domain.com; ERROR SolarWinds.Cirrus.BusinessLayer.RTNHelper - ExecuteRtn errorSystem.FormatException: An invalid character was found in the mail header: ';'. at System.Net.Mail.DotAtomReader.ReadReverse(String data, Int32 index) at System.Net.Mail.MailAddressParser.ParseDomain(String data, Int32& index) at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index) at System.Net.Mail.MailAddressParser.ParseAddress(String data) at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) at SolarWinds.Cirrus.BusinessLayer.Mail.EmailSender.BuildMailMessage(EmailSettings mailSettings) at SolarWinds.Cirrus.BusinessLayer.Mail.EmailSender.Send(SMTPSettings smtpSettings, EmailSettings mailSettings) at SolarWinds.Cirrus.BusinessLayer.RTNHelper.SendMailInternal(EmailSettings email)

Scenario B: SolarWinds Platform Global Alert Actions

In C:\ProgramData\SolarWinds\Logs\Orion\ActionsExecution.log:ERROR SolarWinds.Orion.Core.Actions.Impl.Email.EmailActionExecutioner - Failed to execute email action. System.FormatException: An invalid character was found in the mail header: ';'. at System.Net.Mail.MailAddressParser.ParseAddress(String data) at System.Net.Mail.MailAddress..ctor(String address) at SolarWinds.Orion.Core.Actions.Impl.Email.EmailActionExecutioner.BuildMessage(...)

Product section

Network Configuration Manager

Cause

The Microsoft .NET System.Net.Mail framework enforces strict RFC 5322 compliance when constructing email headers:

  • Recipients (To:, CC:, BCC:): Support multiple email addresses separated by semicolons (;) or commas (,).
  • Sender (From:): Strictly requires a single RFC-compliant email address.
  • Appending a trailing semicolon or punctuation to the sender address causes the parser to treat ; as an illegal character in the domain specification, triggering an unhandled System.FormatException.

Resolution

Remove any trailing punctuation (;, ,, or quotes) from the From / Sender address fields. No service restarts are required; changes take effect immediately.

Method 1: For NCM Real-Time Change Detection Notifications

  1. In the SolarWinds Web Console, go to Settings > All Settings.
  2. Under Product Specific Settings, click NCM Settings.
  3. Under Real-Time Change Detection, click Configure Real-Time Change Detection.
  4. Select Step 4: Config Downloads and Notifications Settings:
    • Review the From Address field.
    • Remove any trailing semicolon or space (e.g., change SolarWinds@domain.com; to SolarWinds@domain.com).
    • (Note: Leave semicolons separating multiple recipient addresses in the recipient field intact).
    • Click Submit.
  5. Select Step 5: NCM SMTP Server:
    • Verify that the configured sender address contains no trailing punctuation.
    • Click Send Test Email to confirm successful dispatch.

Method 2: For SolarWinds Platform Alert Actions

  1. In the Web Console, navigate to Alerts & Activity > Alerts.
  2. Click Manage Alerts in the top-right corner.
  3. Locate and edit the alert with the failing email action.
  4. On the Trigger Actions tab, click Edit on the Send an Email/Page action.
  5. Under Sender Details:
    • Inspect the Sender Email Address field.
    • Ensure it contains only a single clean address with no trailing semicolons, commas, or spaces.
  6. Click Send Test Email to validate.
  7. Click Save Changes.

Method 3: For Global Default Email Notification Settings

If individual alert actions use global defaults:

  1. Go to Settings > All Settings > Default Email Notification Settings (under Alerts & Reports).
  2. Check the Default From Address.
  3. Remove any trailing punctuation and click Save.

Verification

  • For NCM RTCD: Make a minor configuration change on a monitored node. Confirm NCM downloads the config, and inspect NcmBusinessLayerPlugin.log to verify that SolarWinds.Cirrus.BusinessLayer.Mail.EmailSender reports Sending email to [recipient] from [sender] without throwing System.FormatException.
  • For Alerting: Trigger the alert action or use Test Action in Alert Manager. Confirm the email arrives in the recipient inbox.