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.