Parameter mail.add_x_header determines whether to add to messages sent without authorization from the web server (for example, using the function mail), header
X-PHP-Originating-Scriptwhich will contain the script UID and file name. After enabling this option, you can track the name of the script that initiated the sending by the headers of the messages being sent, which can be useful, for example, when searching for the source of spam.
To change the value of a parameter, do the following:
- Openup PHP settings.
- Check the box next to "mail.add_x_header":
- Save your changes.
- Wait approximately 10-15 minutes for the changes to take effect.