Jump to content

news letter


tallberg

Recommended Posts

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?

 

Link to comment
https://forums.phpfreaks.com/topic/202738-news-letter/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/202738-news-letter/#findComment-1063128
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.