Article ID: 121423, created on May 1, 2014, last review on May 10, 2014

  • Applies to:
  • Plesk 11.5 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.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF