Possible Duplicate:
How to send 100.000 emails weekly?
I'm tweaking a registration system for internal use at a large organization. It needs to send out daily reminders to users who are registered for events each day. This system started out small but now some days there are 300 - 600 people registered for an event.
So far I've been using php's mail
function and that has worked fine. However, they are using Google Apps for their e-mail and it would be nice to send from a dedicated account and reference the sent mail folder if we need to look at what was sent out.
My thoughts so far:
I've tested
PHPMailer
and it works fine with Google Apps but I don't believe it batches e-mails - so I think it would have to open and close the SMTP connection for each e-mail which might be inefficient.I know I can edit the
php.ini
file and specify SMTP information to be Google Apps - that might be an option as well - but from what I understand PHP'smail
function is not really the best way to send large numbers of e-mails either.Years ago I looked at
PEAR::Mail
which I believe does a much better job at sending large numbers of e-mails, but I wasn't sold on it then. Maybe it is the best solution but I was wondering if something more recent or more awesome was out there.
So, are the best ways to send up to a few hundred e-mails each day via G-Mail from PHP?