Outlook weblink does not always correctly open the mail

血红的双手。 提交于 2020-06-13 06:59:21

问题


When I'm getting the property weblink from a message through the outlook API 2.0 REST call, it sometimes works and sometimes doesn't.

That's to say:
For my testaccount dirk@useitgroup.onmicrosoft.com.
When I get the weblink I get something like:
https://outlook.office365.com/owa/?ItemID=AQMkAGI...%3D%3D&exvsurl=1&viewmodel=ReadMessageItem.
opening this weblink correctly opens the mail after redirecting to something like.
https://outlook.office365.com/mail/deeplink?ItemID=AQMkAGI...%3D%3D&exvsurl=1.

for my live.com account I also get a weblink
for instance something like:
https://outlook.live.com/owa/?ItemID=AQMkA...3D%3D&exvsurl=1&viewmodel=ReadMessageItem.
which then after redirection gets translated to something like.
https://outlook.live.com/mail/0/deeplink?ItemID=AQMkA...%3d%3d.

This link never opens the mail, but keeps showing me "loading" instead.

The difference seems to be the outlook.office365.com vs the outlook.live.com.
My live account is for a family office365 subscription.
Is there any way to get this to work with a live account as well?

来源:https://stackoverflow.com/questions/61613815/outlook-weblink-does-not-always-correctly-open-the-mail

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