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.

PHP Mail()

Discussion in 'E-mail Discussions' started by jmr, Oct 3, 2002.

  1. jmr

    jmr Member

    Joined:
    Jul 4, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I have a problem with sending mail through a php webform.

    i have checked php.ini and it contains

    sendmail_path = /usr/sbin/sendmail -t -i

    i have searched at the forum and found several things like making sure there is a softlink to exim - checked this and it states file exists.

    the webform works fine states email has been sent but nothing gets delivered. We do however get the following sent back to root

    support@jmr-hosting.uk.com
    SMTP error from remote mailer after MAIL FROM:&nobody@europe.romedchim.com& SIZE=1517:
    host mail.jmr-hosting.uk.com [216.40.212.59]:
    501 5.1.8 &nobody@europe.romedchim.com&... Domain of sender address nobody@europe.romedchim.com does not exist


    All help would be appreciated.

    Cpanel build is Cpanel 5.0.0-R156
     
  2. thomas

    thomas Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Looks like it is rejected by the remote mail server because you haven't setup reverse dns on your main ip.
     
  3. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    And you should add an A record for europe.romedchim.com. in romedchim.com zone if you haven't (I think you haven't).
     
Loading...

Share This Page