Could I run a php/cgi script automaticaly when reciv a mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pramod
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2004 6:28 am
Location: ind
Contact:

Could I run a php/cgi script automaticaly when reciv a mail

Post by pramod »

Hi,

Could I run a php/cgi script automaticaly when I recive an e-mail.
I am looking to create an automaitc email redirection and an auto respond email script. I dont want to use cron jobs because there is always a time delay and it is an over head to system

Any one have the idea about this please help me .

Thanking you ,
Pramod.K.V.P
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

[google]procmail[/google]
forward
pramod
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2004 6:28 am
Location: ind
Contact:

Post by pramod »

I am using shared server i dont know Procmail utiliy is installed on ther .
my platform is linux, apache ,php, mysql . IF it is not installed ther could i install or run on my own area .

To achive my former requirement which is better crone or prcmail ?

Waitnig for your advice

Pramod K.V.P
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

if it's usual Unix box and you have shell access to it, .forward (second link in my previous post) would be enough.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

meaby fetchmail to fetch mail from other mailhost too (-d option might come in handy)
Post Reply