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

    Dec 9, 2002
    Likes Received:
    Trophy Points:
    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 ? Support Ticket Number:

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