How can I programmatically get access to GMAIL attachments?
Currently I've signed up for a subscription service that sends 开发者_开发知识库me data as an email attachment...it's a zip file. I get a file everyday.
What I want is a program that runs every day that downloads the attachment from Gmail and then opens the zip file and processes it's contents.
The server I would be running this app on is running Ubuntu
I'm looking for either existing tools that will do this or a strategy that I can implement myself.
You can use JavaMail to connect to GMail's imap or pop3 interface, then fetch emails and retrieve attachments.
精彩评论