Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.