I have several daily reports that are automatically e-mailed to an Exchange account that I normally access through Outlook Web Access. As part of my job I get to log in daily and record numbers into a master stats file. Fun times. Not.
I would love to be able to write a Perl script to parse the e-mails for the relevant data so I don't have to do it manually anymore. Each e-mail comes in a consistent format, so parsing it won't be a problem. Making the e-mails accessible to Perl is the tricky part.
What would be the best way to have a Perl script access and parse e-mails on an Exchange server?