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.

Minor PHP Mail issue

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

  1. MH-Dennis

    MH-Dennis Member

    Joined:
    Jan 31, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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:
    1
    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:
    1
    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