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.

mailing from php

Discussion in 'E-mail Discussions' started by elleryjh, Jul 15, 2003.

  1. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    There's a simple php script called mail.php:
    <? mail("me@domain.com", "test", "test");?>

    When I go to http://domain.com/mail.php, I don't receive any email.

    But, if I type php mail.php at the command line as the same user, it works fine.

    PHPsuexec is on, and there is no error in suexec_log or error_log. The page loads as normal. Any ideas? Thanks.

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Check your mail queue for the messages sent via the web. If they're in the queue and can be delivered without issue; then:

    /scripts/updatenow
    /scripts/updatephpconf
     
  3. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    Thank you so much, ciphervendor! Worked like a charm :)
    -Ellery

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page