Check IMAP via PHP for mesages in order to interact with them via PHP?
Posted
by
Roger
on Server Fault
See other posts from Server Fault
or by Roger
Published on 2011-02-05T21:24:45Z
Indexed on
2011/02/05
23:27 UTC
Read the original article
Hit count: 298
I use Google to administer my e-mails and I run Nginx + PHP. If I want to check incoming mail to interact with each message subject (to trigger an action), as far as I know, I have only two options: 1) access Google via IMAP PHP / cron job or 2) forward the messages to my server where I can have a subdomain set to pipe the messages to a PHP script. Frankly, I'd preffer the first option because I have already all the IMAP functions tested and done. And if the second solution is really the best, I'd preffer to use Postfix. However, id like some light grom somebody who has already browsed this unknown waters. Thank you.
© Server Fault or respective owner