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

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.