Sending email with PHP mail()

这一生的挚爱 提交于 2019-12-04 19:52:15
AlphaMale

For sending bulk emails you can set a cron job which may run after 5 or 10 minutes that will send only a small quantity of emails at a time. Create a reference in a table that so you can have record of which addresses have been emailed. The whole bulk will be divided into little chunks and as it will be running in background it will not put a huge load on your SMTP server. You should use PHP Mailer or SwiftMailer libraries.

You can have a look at this question to select which php mailing library is best:

PhpMailer vs. Swiftmailer?

Hope this helps.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!