jasonc Posted November 2, 2010 Share Posted November 2, 2010 My host has a limit of 100 emails per hour and this is now being reached to many times a day and some emails are not being sent due to this. Does anyone have a script or know of one that can stack emails to be sent in MySql or something and every 5 minutes send one out from the stack and then delete from the stack the ones sent. Link to comment https://forums.phpfreaks.com/topic/217576-cronjob-delay-email-script-to-prevent-limit-being-reached-on-server/ Share on other sites More sharing options...
awpti Posted November 2, 2010 Share Posted November 2, 2010 Write a script that pulls all addresses you need to deliver mail to for that day, stick it in a flat file and have a cron job that runs every hour, pulls a hundred addresses out and delivers the messages - clear those 100 out when done and do the same an hour later. Link to comment https://forums.phpfreaks.com/topic/217576-cronjob-delay-email-script-to-prevent-limit-being-reached-on-server/#findComment-1129604 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.