Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Minor PHP Mail issue

Discussion in 'E-mail Discussion' started by MH-Dennis, Jul 24, 2007.

  1. MH-Dennis

    MH-Dennis Member

    Joined:
    Jan 31, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    I'm having a small issue with my php mail(); function. I believe it is because the "host_accept_relay = localhost" is commented out but when I uncomment it it gives me an error. Something to the effect that "host_accept_relay" is not an accepted setting by exim. Any ideas?

    Regards,
    Dennis M.

    NOTE: I can send/receive mail without problems (via Squirrelmail/Horde) it's just sending with PHP's mail(); function does not work.
     
  2. MH-Dennis

    MH-Dennis Member

    Joined:
    Jan 31, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    I'm looking at my relayers, it says the PHP messages were sent out but never made it to the destination. Any suggestions?

    Regards,
    Dennis M.
     
  3. MH-Dennis

    MH-Dennis Member

    Joined:
    Jan 31, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    UPDATE: It works when I put a Header with a valid e-mail address. I am going to look into putting a default From: address if not defined.

    Anyone know how to do this?
     
    #3 MH-Dennis, Jul 24, 2007
    Last edited: Jul 24, 2007
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice