What's the best approach to sending email to hundreds of recipients from a Zend Framework application?

前端 未结 8 1009
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 08:44

I\'m trying to implement a mailing list system for my application. I\'m currently using Zend_Mail_Transport_Smtp(\'localhost\') as my transport, looping through

8条回答
  •  礼貌的吻别
    2020-12-29 09:24

    The Zend Mail class looks good, and simple to use, it also allows you to send a plain text and HTML version of the email, which in Email marketing is very important.

    If your familiar with the frame work I'd stick with it.

    Important things to consider when sending emails to large volumes of people are:

    • Can your webserver cope with the image requests when e-mails are opened + the load on the server of people visiting your site.

    If the answer is no or your unsure, using apache benchmark should be able to help you work out if it can. If your still unsure, it's always best to batch send emails (which can be timed with crontab) to spread the load.

    I hope this helps.

提交回复
热议问题