How to disallow php scripts sending out mail from outside server mail addresses?

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello :)

For PHP scripts, you could add "mail" to the disable_functions line in your PHP configuration file. However, that's not configurable on a per-email-address basis.

Thank you.