The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does php mail() still bypass cPanel sending limits?

Discussion in 'E-mail Discussions' started by kpmedia, Oct 1, 2014.

  1. kpmedia

    kpmedia Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA, Europe
    cPanel Access Level:
    Root Administrator
    I see lots of posts about this, but most are years old...
    Does php still bypass cPanel "mails per hour" limits?
    If so, I'd rather just disable php mail altogether. It's not like using smtp is hard.
     
  2. John

    John Active Member

    Joined:
    Jan 1, 2014
    Messages:
    25
    Likes Received:
    2
    Trophy Points:
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page