title: Setting up a CRON JOB based on receiving email on mail server
body: <p>Is there any way to get notified when a new email is received in my mail server and setting up a cron job based on the notification?</p>
  
  <p>For example, say my mail server is xxx.com. someone@gmai.com send a mail to myacc@xxx.com at 7pm  while I am not at my office. I want to reply to that mail using php from my web server associated with the mail server. </p>
  
  <p>I want to run a php script periodically which will check for new email received on the mail server and if a new email is received, acquiring information like sender's email etc, I want to reply to that email using another php script. Is it possible?</p>
  
  <p>Hope I am able to describe it clearly. Thanks for your time! </p>