I'm working on a project that is going to require me to write an e-mail bot in php. It's going to recieve it's input via email messages. I'm not sure where to start with this. Is it possible to forward email to a script or does this have to be done via POP3/IMAP? I would think the POP/IMAP method would be pretty inefficient as results wouldn't be immediate, we'd have to force the script to check the mailbox periodically. I've seen autoresponders written in PHP available commercially so there must be a way to do it....Can anyone point me in the right direction? A tutorial or sample script or even a simple explanation of the process would be very helpful.
Thanks,
-jakem