Jump to content

sending an email cronjob


r-it

Recommended Posts

Hi, I read somewhere that sending more than 50 emails with a cronjob or just from a database with php will be rendered as spam, the thing is, i need to send reminders to my users at 12am everyday if they meet a certain criteria, and that could be 200 users, and how do i make my script to cater for this spam thing

Link to comment
https://forums.phpfreaks.com/topic/106425-sending-an-email-cronjob/
Share on other sites

if the emails are the same then you could so this with one email,

just send to [email protected], [email protected], etc, if you don't want to reveal everyones email to each other then send to yourself or a blackhole account and BCC them all.

 

i don't think theirs a single preset rule for who gets flagged as a spammer, but sending 50+ in 1 minute could get you flagged, or worst case blacklisted, this doesn't mean the world stops, just means you need to report to them that your not a spammer, also check with your host as they may block single accunts sending lots of emails..

 

hope this helps

the thing is it should work like this:

this thing checks the database if DATEDIFF is greater than 7 days, and if it is, sends an email to the user reminding them of their inactivity. It will be iterating through the database and finding the ones that are greater than 7 days and send the appropriate email (they are different depending on your status). so is there a problem there?

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.