Forum Discussion
Outlook Deeplink opens a email compose window in draft state only for the first time
I am using the Outlook compose deeplink to open a new email in compose window from my react application with window.Open(deeplink), however for the very first time a new browser window is opened with new email in Draft state.
If I use the same compose deeplink again from the same browser, then it opens the new email in compose mode as expected.
It feels there is some issue with the cache/cookie storing the OpenID Connect token that gets loaded when I open outlook with the deeplink for first time, and other times it opens the compose email window properly.
Also when I already have Outlook opened in browser and then if I open new browser window from my React application using the deeplink, it works alright.
Deeplink - https://outlook.office.com/mail/deeplink/compose/...
- Meghana-MSFTMicrosoftCan you please confirm if you are developing any Teams application. Based on the description it does not seem like a Teams application.
- maheshkumaryuCopper ContributorYes this is one of a functionality in our teams application
We have to open the outlook compose window pre-populating with email address in To, CC
And the subject field- Meghana-MSFTMicrosoft
maheshkumaryu - Could you please share which document you are referring to? In this create deep links doc, there is no such syntax that you mentioned. Can you please share code snippet that you are referring to?