Send emails every 2 day’s automatically

Require client to complete form on website then i post him emails every single 2 day’s instantly total 4 situations, how i can certainly achieve this

You may need a few systems:

  • A database
  • A development language
  • A daemon or perhaps cron job system
  • A mailer method (preferably authenticated SMTP regarding better deliverability)

Database is going to have a table when using the individual’s email handle, date the variety was submitted, and # of instances the email had been sent

Programming language is going to save the form for the DB, then a separate script will send the consumer an email

This cron or daemon will probably execute the submitting script periodically (e. h. daily). The script it executes will find all users with sent emails < 4 times and who will be due to obtain an email (e. h. WHERE date_registered + PERIOD OF TIME (2 * emails_sent) evening < NOW() )

The script will likely then loop through people email addresses, send a computer owner an email, and incrememt the actual emails_sent column (count of emails delivered to the user).

Now you must pick some specific technologies to do business with, and we can certainly talk details!

If you don’t have anything picked released yet, I would suggest:

  • MySQL
  • PHP upon Apache
  • Crontab
  • Pear Mail using SMTP / auth

Yeah…. what he stated. =-O

Properly explained Steve, even I had been gathering information about this.

I have something similar.

May i install Crontab or the same programme over FTP of can i need direct usage of the server

With thanks.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *