Jump to content

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 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

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?

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.