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!

PHP and mail() function

Discussion in 'E-mail Discussion' started by Jontxu40, Jun 11, 2003.

  1. Jontxu40

    Jontxu40 Well-Known Member

    Joined:
    Dec 9, 2002
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    156
    Hi :

    At one server I have found a strange behavior for mail() function.

    The mail is sended but not immediately. The email is enqueued and is sending after an hour.

    Curious... because ...

    1.- Executing the script by SSH (> php /home/user/www/test.php) work fine and the email is sended in a minute.

    2.- When I open the page with a browser, the email is enqueued and I must wait an hour to receive . :confused:

    Any ideas ?

    cPanel.net Support Ticket Number:
     
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