Get direct link to gmail message via Google API

落爺英雄遲暮 提交于 2020-01-11 11:42:11

问题


Is it possible to get the link to the message using Google API? Can message id be translated somehow to direct link which can be opened in browser?


回答1:


You can try with URL https://mail.google.com/mail/#inbox/messageId. But you should have access to this message. But this URL is generated by Gmail UI not with API. So, you have to create the above URL in your program



来源:https://stackoverflow.com/questions/29415495/get-direct-link-to-gmail-message-via-google-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!