Can I change “X-Mailer” header in IPHost email notifications?

Changing the X-Mailer header in IPHost email notifications

Q: email notifications sent by IPHost have “X-Mailer: IPHost Network Monitor” header; can I change the header text?

A: yes, owners of commercial IPHost licenses with active Maintenance&Support subscription can set the mentioned header to a custom value.

The mentioned change requires editing OS registry. Important: any registry change can result in system or its components malfunction. By doing the below changes you understand that and proceed on your own risk. We also recommend doing registry backup copy first.

Create a .reg file

You can either create custom .reg files using the instructions below, or you can download the iphost-custom-x-mailer.zip archive (703 bytes, SHA1 checksum 679d6e7c273bed8eab3ae5036a574fd629779444), containing the template files.

You should know whether your OS is 32- or 64-bit, before proceeding. To learn that, open “This PC > Properties” (the first item can be named differently in your Windows operating system). You will see a window containing something like below:

This PC - Properties

Open a Notepad or any other plain text editor and insert one of the sample texts blocks provided below. Replace the bold text with the header text you wish to use:

For 32-bit system, use the text like below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ITelSib\IPHost Network Monitor Client]
"email_header_x_mailer"="Your Company Name here"

For 64-bit system, use the text like below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ITelSib\IPHost Network Monitor Client]
"email_header_x_mailer"="Your Company Name here"

Import .reg file

Save the file, using .reg extension, e.g. as “iphost-custom-x-mailer-32bit.reg”. Open explorer, locate the newly created .reg file and double click it. Allow importing file data into registry (the system will warn against possible risks)

In case your IPHost installation is registered with commercial license, and its Maintenance&Support subscription is active, the change will be in effect at once. Proceed to “Settings > Email Settings” and send test email message, then inspect its headers, to verify.

Alternately, you can use “Testing” tab under any monitor’s “Alerting” tab (provided the alert uses email notifications) and click proper “Test” button, to receive email and check its headers.

Related topics