Gang,
I have been trying to setup an application for my users to send out thousands of emails at a time. When I first tested the script, I commented out the "$mail_sent = @mail(" line so it didn't send out the email. When the line is not commented out and is in production, it takes forever... I read about using SMTP directly to speed things up, but I think using the mail() feature is locking up the server.
I also saw some talk about using the Qmail service instead of Sendmail. I have the PHP sendmail path set to "/usr/sbin/sendmail". Should I take advantage of Qmail? Will it make much of a difference?
The users may want to send out 10,000 - 20,000 emails and I need the system to accomodate this level of usage. I batched the emails into 5,000 emails per page, but it is still taking 5-10 minutes per 5,000.
What's the best appraoch for this?