Does php mail() still bypass cPanel sending limits?

John

Active Member
Jan 1, 2014
25
2
3
cPanel Access Level
Root Administrator
php mail function doesn't bypass cPanel "mails per hour" limits. It will block the domain, even if it is send from php script. You will see error messages like below, in /var/log/exim_mainlog.

Code:
R=enforce_mail_permissions: Domain test.com has exceeded the max emails per hour (5/4 (125%)) allowed.  Message discarded.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

It's still likely a good idea to disable the ability for PHP scripts to send out email as a method of preventing SPAM.

Thank you.