PHP Autoresponder based on subject line of emails

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
RockSplat
Forum Newbie
Posts: 1
Joined: Sun Dec 20, 2009 10:26 am

PHP Autoresponder based on subject line of emails

Post by RockSplat »

Hello! I am looking for a PHP app that would monitor a mailbox and autoreply to messages based on subject lines. I am hoping to find something that would constantly monitor a mailbox.

This would be very similar to a simple Outlook Express message rule.

1) Message comes in with subject line 'xyz' they get response for 'xyz'
2) Messages comes in with subject line '123' they get response for '123'

Are there any free PHP apps out there that I could use for this?

Thanks for the advice!
Happy Holidays
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: PHP Autoresponder based on subject line of emails

Post by josh »

http://en.wikipedia.org/wiki/Procmail
There would be 2 ways to go about it, use procmail or an equivalent to get the email into PHP, and do all your processing there
or do your processing right in the procmail scripting language, and send it to PHP if the auto reply should be sent

The former would probably be more "correct" although doing the processing in PHP would make your system more portable.
Post Reply