In this new post to the WebDevHub blog today, Akshat Goel shows you how to set up an email scheduling feature for your application using PHP and the futuremail web service.
If you are a web developer, many a times while developing websites you must have wanted to schedule an email to a future date. There are two ways of doing this, one is by using cron jobs on linux or by using a third party service. In this article I will tell you how you can schedule emails to a future date by using a third party service.
His sample script uses a socket connection to open a remote page, passing in the email information via URL parameters including a secret key and the time to send the email. The response is then returned in JSON that can be easily decoded by PHP.