High Volume Email with Mail()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zachrose
Forum Newbie
Posts: 5
Joined: Mon Jun 16, 2008 12:34 pm

High Volume Email with Mail()

Post by zachrose »

Hi.

Is there any reason why I wouldn't want to use the mail() function to send out 5000-6000 emails? I'm looking to replace a mass email service with my own script.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: High Volume Email with Mail()

Post by Kieran Huggins »

SwiftMailer is much better at large batches.

Also, you'll need to watch your max_execution_time - sending mail is not instant, to say the least.

Also, you may run into SMTP sending limits, some SMTP servers allow a max number of sent mails per day.
Post Reply