r-it Posted May 20, 2008 Share Posted May 20, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/106425-sending-an-email-cronjob/ Share on other sites More sharing options...
MadTechie Posted May 20, 2008 Share Posted May 20, 2008 if the emails are the same then you could so this with one email, just send to user1@blar.com, user2@blar.com, 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 Quote Link to comment https://forums.phpfreaks.com/topic/106425-sending-an-email-cronjob/#findComment-545524 Share on other sites More sharing options...
r-it Posted May 20, 2008 Author Share Posted May 20, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/106425-sending-an-email-cronjob/#findComment-545557 Share on other sites More sharing options...
MadTechie Posted May 20, 2008 Share Posted May 20, 2008 erm.. my last post answers that. Quote Link to comment https://forums.phpfreaks.com/topic/106425-sending-an-email-cronjob/#findComment-545585 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.