- Plesk 11.x for Linux
How-to restrict PHP scripts to send e-mails for particular domain?
Open in Plesk GUI:
Home > Subscriptions > Subscription name > Websites & Domains > domain.tld > PHP Settings
In section 'Additional directives' add the following statement:
disabled_functions = mail
This will restrict PHP scripts for 'domain.tld' to execute mail() function.