I've checked sendmail's man pages and if you change sendmail_path's value in php.ini to:
sendmail -t -i -ODeliveryMode=q
it should work.
the mail function should bung the emails in the queue. You should however configure sendmail to send the queue now and again.
I actually tried it and the command worked from teh command line but I couldn't get PHP to queue the emails.
But it might to the trick for you!
Hungry wrote:
Carl
Did you have any success with this? I'm having a similar problem trying to send to an email list. I want the user to be taken to another page whilst the messages are queued and sent when it's convenient. If you solved it, please let me know how.
Thanks
Hon