Is php mail() a good option for mass mailing?
问题 I am creating a system, where a list of thousands of emails will be sent periodically, I know that the mail() function in PHP is quite heavy, specially if calling it too many times simultaneously. Roughly the way my system works , is that I create queue of emails in MySQL and send them in batches of 25 using mail() , removing from the table the top 25 sent. And I wait 2 seconds between each set of 25. Is this too much effort for the server or I can push it a bit further? Lets say 50 per