...

View Full Version : arriving email to trigger script?



bazz
05-14-2009, 02:56 PM
Hi,

I have an email account which gets messages about once every two days. I want to use the arrival of the script in the inBox to trigger a script instead of running a cron job all the time.

Is this possible or perhaps you know of another way to do this?

Any pointers would be great.

bazz

mlseim
05-18-2009, 05:31 PM
Bazz ...

I've looked into this before, more from a PHP direction:
http://evolt.org/incoming_mail_and_php?from=50&comments_per_page=50

I think I ended-up stuck because I didn't either have a dedicated (or Virtual) Server,
and I don't have my server. So, with a shared webhosting account, I couldn't do it.

But maybe the link above might steer you into some direction (using .forward file)
Also, read the comments from the users ... some good pointers there?


.

oesxyl
05-18-2009, 05:38 PM
Hi,

I have an email account which gets messages about once every two days. I want to use the arrival of the script in the inBox to trigger a script instead of running a cron job all the time.

Is this possible or perhaps you know of another way to do this?

Any pointers would be great.

bazz
take a look over procmail:

http://www.procmail.org/

there are also other mail processors but this what I use, :)

best regards

bazz
05-19-2009, 01:09 AM
Thank you both. I'll read up on those links.

bazz



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum