tallberg Posted May 24, 2010 Share Posted May 24, 2010 Hi Ive made a newsletter app a site. Its pretty basic. it uses a loop to send emails. There have been reports that some subscribers have not received an email. Ive tested it by sending out an email to 96 user all with the same yahoo email address. The yahoo mail account receives 56 email when it should have recieved 96. My guess is the loop or the mail function stops working at a cirtain point. Does anyone have experiance dealing with this issue? Quote Link to comment https://forums.phpfreaks.com/topic/202738-news-letter/ Share on other sites More sharing options...
ScotDiddle Posted May 24, 2010 Share Posted May 24, 2010 tallberg. You could try adding "set_time_limit(0);" ( no time out ) to you script and see if it's a time-out related issue. Scot L. Diddle, Richmond VA Quote Link to comment https://forums.phpfreaks.com/topic/202738-news-letter/#findComment-1062605 Share on other sites More sharing options...
tallberg Posted May 25, 2010 Author Share Posted May 25, 2010 Thanks for the reply. Ive tryed that and im still only getting 53 emails. Quote Link to comment https://forums.phpfreaks.com/topic/202738-news-letter/#findComment-1062899 Share on other sites More sharing options...
ScotDiddle Posted May 25, 2010 Share Posted May 25, 2010 tallberg, Post your code and I will run it through my trusty Zend Studio 5.5.0 and see what's what. Scot Quote Link to comment https://forums.phpfreaks.com/topic/202738-news-letter/#findComment-1062972 Share on other sites More sharing options...
premiso Posted May 25, 2010 Share Posted May 25, 2010 If you are trying to send massive emails, you may want to look into using PEAR to do this. They have the built in functionality. The reason being, it is not necessarily PHP's fault but more or less probably limitations on the mail server. So you will need to have a "queue system" in place. IE: you can send 50 emails at once no problem, so have the script send the 50 and then refresh and send the next 43. You may want a database to back this and have a "sent" field to update after the files have been "sent". You can set a cron job to run every x seconds if you have access to that and it can call the script for you so you do not have to manually call it yourself. Quote Link to comment https://forums.phpfreaks.com/topic/202738-news-letter/#findComment-1063128 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.