Hi guys I have a few questions that I wanted to ask. I an using hostgators business plan hosting on a shared server and when I talked to them about limitations and such they have told me that the limit for sending emails is 500 per hour(I think but not too sure maybe 1000, but it doesn't matter.) and I think I'll be having problems when my work goes live, so I am thinking to make some kind of script(PHP) that will be monitoring the outgoing emails allow 350 emails to be sent and put the rest on hold until the hour passes and after that send another 350 and so on, and so on. And I am planing of building a update system with XML RPC for engine and communicating with remote server and if there are any updates available to start reading them and applying them to the system triggered by CRON. So that was the information I wanted to give now the questions:
1. Email monitor:
1.1 How to get the amount of emails sent?
1.2 How should I set up the CRON for it?(if i set up CRON with less than 5mins I think it will be deleted.) Or should I use alternative and what should it be?
1.3 Can someone please give me an example script?
2. XML RPC updater:
2.1 What will be the best way to make it?
2.2 What has to be the method except "Check"->"Response[true|false]"->"Read updated content"->"Write updated content"?
2.3 Is it a good idea to make such system and what will be the most secure way to make it?