admin管理员组

文章数量:1430011

I am developing a plugin that sends emails out to users. I am having difficulty in finding the most performance enhanced way to send these emails out and prevent a server timeout. In other words, I would like my plugin to scale, so if someone that uses it on a site with a hundred thousand users, my plugin will still work. Perhaps there is a way to execute each email or two as a separate script that gets executed one after another? Some help/insight on this would be appreciated. Thanks

I am developing a plugin that sends emails out to users. I am having difficulty in finding the most performance enhanced way to send these emails out and prevent a server timeout. In other words, I would like my plugin to scale, so if someone that uses it on a site with a hundred thousand users, my plugin will still work. Perhaps there is a way to execute each email or two as a separate script that gets executed one after another? Some help/insight on this would be appreciated. Thanks

Share Improve this question edited Apr 24, 2019 at 23:44 butlerblog 5,1313 gold badges28 silver badges44 bronze badges asked Apr 23, 2013 at 0:34 Roman Epicnerd SharfRoman Epicnerd Sharf 2113 silver badges13 bronze badges 1
  • Had you researched what exactly is becoming your bottleneck? This might be more of a server software question. – Rarst Commented Jun 22, 2013 at 9:43
Add a comment  | 

1 Answer 1

Reset to default -2

The MailPress plugin does a good job of sending 1000's of emails so it might be worth examining the source code to see how it works.

本文标签: wp mailSend bulk emails without timeout