开发者

How can I programmatically get access to GMAIL attachments?

开发者 https://www.devze.com 2023-04-09 09:01 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号