2021-09-03: Outlook Web Apps: WTF rak
================================================================
I recently moved to Montreal to start a postdoc at McGill.
Annoyingly, McGill uses Office365/OWA with mandatory 2FA for
their email, so I had to patch neomutt to support XOAUTH2
authentication [0]. Infinitely more annoying is the following
OWA "feature": I saved a draft of a plaintext email over IMAP
using neomutt. When I went to resume my email, I discoverd that
OWA had converted my email to, you guessed it, HTML. Thankfully,
they were kind enough to tell me that they had done so by adding
an HTML comment: <!-- converted from text -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
<br>
blah blah blah<br>
<br>
blah blah blah blah<br>
blah blah blah<br>
<br>
Ryan<br>
<br>
-- <br>
|)|/ Ryan Kavanagh | 4E46 9519 ED67 7734 268F<br>
|\|\ <a href="
https://rak.ac" target="_BLANK">
https://rak.ac</a> | BD95 8F7B F8FC 4A11 C97A<br>
</div>
</span></font>
</body>
</html>
Who the actual fuck thought this was a good idea or that it was
remotely helpful?
[0]
https://github.com/neomutt/neomutt/pull/3032