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.

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

Discussion in 'E-mail Discussions' started by postcd, Aug 26, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    619
    Likes Received:
    6
    Trophy Points:
    18
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page