Php mail wont send but exim is working fine?

Discussion in 'Site & Server Administration' started by bigrollerdave, Jan 23, 2008.

  1. #1
    Okay I'm trying to run a simple php mail test and it's not working

    mail('email@email.com', 'test', 'test');

    The above doesn't work

    If I run this from the command line though it works fine

    echo testing | mail -s message

    I've restarted exim and it's running just fine on my server. For some reason the php mail() wont send though

    Thanks
     
    bigrollerdave, Jan 23, 2008 IP
  2. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Anything from the log file?
     
    ilovelinux, Jan 23, 2008 IP
  3. bigrollerdave

    bigrollerdave Well-Known Member

    Messages:
    2,112
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Just a lot of statements like this

    2008-01-24 02:12:47 H=72sdl30m46.codetel.net.do (desktop.lan) [66.98.81.72] F= rejected RCPT : no such address here

    Would you be willing to take a look I can pay you another 10$ if you get it working

    Thanks
     
    bigrollerdave, Jan 23, 2008 IP
  4. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sure. No problem. Same access details?
     
    ilovelinux, Jan 23, 2008 IP
  5. bigrollerdave

    bigrollerdave Well-Known Member

    Messages:
    2,112
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    140
    #5
    Yeah I just changed the password back to what it was yesterday. You should be able to login now. Let me know if you run into any problems or if you fixed it.

    Thanks again
     
    bigrollerdave, Jan 23, 2008 IP
  6. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes. Thanks too. I will be updating you in a while...
     
    ilovelinux, Jan 23, 2008 IP
  7. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Can you try to test it now?
     
    ilovelinux, Jan 24, 2008 IP
  8. bigrollerdave

    bigrollerdave Well-Known Member

    Messages:
    2,112
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    140
    #8
    Still nothing
     
    bigrollerdave, Jan 24, 2008 IP
  9. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Give it a shot again. I have called php to use exim on the config settings. What script are you using to test by the way? I am using this:

    http://www.riotvids.com/mail.php
     
    ilovelinux, Jan 24, 2008 IP
  10. bigrollerdave

    bigrollerdave Well-Known Member

    Messages:
    2,112
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    140
    #10
    I was using http://www.campusbreak.com/test.php but I tried both scripts and neither worked. I tested it on two different email hosts. The php script says the email is fine but I'm not sure what's preventing it from sending.
     
    bigrollerdave, Jan 24, 2008 IP
  11. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I sent you a pm. Please check it out.
     
    ilovelinux, Jan 24, 2008 IP
  12. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Also kindly pm me your email address so I can place it on my php file. For you to be able to test to.
     
    ilovelinux, Jan 24, 2008 IP
  13. ilovelinux

    ilovelinux Peon

    Messages:
    285
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Hey Dave. Any updates?
     
    ilovelinux, Jan 24, 2008 IP