2.8.12. mail.add_x_header

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:

  1. Openup PHP settings.
  2. Check the box next to "mail.add_x_header":
  3. Save your changes.
  4. Wait approximately 10-15 minutes for the changes to take effect.