开发者

Accessing GMail "View as HTML" content programatically?

开发者 https://www.devze.com 2022-12-27 09:40 出处:网络
I love the \"View as HTML\" option in GMail when viewing attachments. I would love to be able to use this feature programatically, i.e. check a GMail inbox, read emails, if there are attachments, get

I love the "View as HTML" option in GMail when viewing attachments. I would love to be able to use this feature programatically, i.e. check a GMail inbox, read emails, if there are attachments, get the html view and use that content.

I'm looking to do this in C#. Does anyone know if this is possible or if there's another solution to easily get content from a GMail account, regardless of what format it's in? I.E html, pdf, Word doc, etc.

The GMail Inbox Feed API isn't good enough and before I start trying to build an IMAP solution that pulls in PDF/Word doc converters, I thought it'd be good to ask here.开发者_运维知识库


I believe the latest "preview PDF online" has been opened through Googles own GMail API.

I haven't had an option to look at it yet, though - but I read that it has been released. So you can just use your Google Docs to open the files directly from a simple href.

0

精彩评论

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