Did you mean `EwsFolder.CopyFileMessage` instead of `nsIMsgFolder::CopyFromFile`? In order for this to work, we also need to get around the fact that we're not using nsIMsgMailNewsUrl so when we load the Draft into the Compose window its currently failing here: https://searchfox.org/comm-central/source/mailnews/compose/src/nsMsgComposeService.cpp#1200
Bug 1924853 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Did you mean `EwsFolder.CopyFileMessage` instead of `nsIMsgFolder::CopyFromFile`? In order for this to work, we also need to get around the fact that we're not using nsIMsgMailNewsUrl so when we load the Draft into the Compose window its currently failing here: https://searchfox.org/comm-central/source/mailnews/compose/src/nsMsgComposeService.cpp#1200 EwsService::GetUrlForUri always returns a generic nsIURI whereas the imap version of this typically returns an nsIImapUrl which implements nsIMsgMailNewsUrl