Jump to content

Monitor Email Address


Stooney

Recommended Posts

Not 100% on what section this belongs as I'm not sure if the best solution is php or not. 

 

I'm looking to so to say 'monitor' an email address.  Every time a mail arrives in the inbox, I need a php script to run within (at most I hope) 30 seconds..  This script with do it's own thing and connect to pop server, pull email etc.  My main hurdle right now is how to go about 'monitoring' the email address so that the messages are pulled off the server and processed asap.

 

It's a set address that won't change.  So the pop server and everything won't change dynamically.

 

My first thought is to use a cron job, but I've read that setting cron jobs to run too often (under 2 mins in between) is not very good.  Let me know if that's wrong or if you have a better solution.

Link to comment
https://forums.phpfreaks.com/topic/118346-monitor-email-address/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.