adrianTNT Posted August 28, 2007 Share Posted August 28, 2007 Hello, I do not know what is the best practice to do this, how do other scripts/sites do this? I have a downloads site with categories and users are subscribed to receive emails when a category has something new uploaded. The site might need to send let's say 10 000 emails to different users when a new file was uploaded. If on upload page I will have a loop that will repeat the mail function 10 000 times... - Will that work? - Or the user that submitted the file will need to wait on that upload page too long for 10 000 emails to be sent? - Or is it a good practice to add all emails in a database and send them later and maybe in smaller groups? How do others do this? Thanks. Adrian. Link to comment https://forums.phpfreaks.com/topic/67143-what-is-best-way-to-send-thousands-of-emails-for-site-updates-notifications/ Share on other sites More sharing options...
uwannadonkey Posted August 29, 2007 Share Posted August 29, 2007 on upload page is BAD idea, because it will cause page to timeout Link to comment https://forums.phpfreaks.com/topic/67143-what-is-best-way-to-send-thousands-of-emails-for-site-updates-notifications/#findComment-336806 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.