4 ms·
My problem is I support so many applicants which use MAPI calls to create emails to Outlook, and they haven’t and may never add support for MAPI to the web-base
by greatquux 2y ago
My problem is I support so many applicants which use MAPI calls to create emails to Outlook, and they haven’t and may never add support for MAPI to the web-based version. I kinda thing one reason they are trying to kill the classic Outlook is it’s getting harder to find programmers willing to maintain it.
- greatquux 2y agoI found someone's solution that actually does seem to work, even if it's hacky! https://learn.microsoft.com/en-us/answers/questions/1640434/creating-and-sending-an-email-through-new-outlook https://learn.microsoft.com/en-us/answers/questions/1640434/... and https://gist.github.com/SelimBasyouni/efec48a197bfefb59d4ff75797aae15e https://gist.github.com/SelimBasyouni/efec48a197bfefb59d4ff7... basically create an EML file with X-Unsent: 1 and if you open in New Outlook it will show as a draft. This could basically replace what we're doing with MAPI.
- jonrobertson 2y agoI finished testing that solution earlier and it is what we'll initially implement, until a better solution is available. Note for anyone testing, the C# project created a file with CR/LF line endings, and it does not open as a draft in classic Outlook ("Old Outlook"). Changing the file to end with LF only solved the issue and works with classic and New Outlook.