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.

Send notification email via SMTP instead of mail() function.

Discussion in 'E-mail Discussions' started by tienngang, Mar 31, 2015.

  1. tienngang

    tienngang Member

    Joined:
    Nov 20, 2014
    Messages:
    5
    Likes Received:
    2
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have disabled the function mail (), how to configure the system to use SMTP to send system email (to root@hostname, for example) instead of mail () function (can not send anymore).
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,814
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you elaborate on how you disabled the mail function? Are you sure it's blocking WHM notifications (e.g. do you notice errors in /var/log/exim_mainlog)?

    Thank you.
     
Loading...

Share This Page