Forums

PHP

This topic is locked

php + sendmail

Posted 21 Sep 2006 22:22:36
1
has voted
21 Sep 2006 22:22:36 Michal Pionowski posted:
Hi!
I've got huge problem. I'm using Aurox Linux 11 with Apache 2.0.54 and PHP 5.0.4. I'm trying to use php mail() function to send an e-mails. I had some problems with sendmail configuration because it didn't send any mails. Now it's sending. BUT! I've got next problem.
When I'm sending mail from php script I have to restart sendmail. After this mails go to queue (mailq) and they are sending. If I don't restart sendmail mails from Apache aren't sending and aren't waiting in queue (mailq return empty row).
So: what should I do to force sendmail to send e-mail immediately? I have to say that mails sending from console are going immediately (to localhost and remote address too) but only from PHP are sending after sendmail restart.
Please help me...

Reply to this topic