Goal: Read newest message in gmail, look for keywords in message body, delete message. Repeat on a cron job every 10 minutes.
I'm thinking IMAP, hence my earlier issue with a dependency of Net::IMAP::Simple. But is there something better, or something already designed for this?
We send out email confirmations at work, and a least a few times a day we get "undeliverable" ones that come back to us. Usually typos in the email address.
I've filtered all of these auto-replies from postmaster into a separate gmail account with IMAP access enabled.
Now, we need to detect our internal confirmation numbers in the message bodies so that we can have our perl scripts automatically alert staff of the customer name (having looked up the confirmation number) who needs to be contacted for updated information.
The ONLY problem I'm having is grabbing the messages from the gmail server
In reply to Most elegant way to process an email in a gmail account? by dihewidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |