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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.