<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">Hi,</p>
<p dir="auto">once again I've changed how MailMate handles some types of Microsoft/Exchange/Office365 accounts. I'm not really sure what to call them any longer, but I think we are moving towards a point where it's just all Office365.</p>
<p dir="auto">TL;DR — If you have an <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">@outlook.com/@hotmail.com/@live.com</code> account then you might want to download a recent release of MailMate and then enable OAuth2 to see if it works for you. Make sure you use <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">outlook.office365.com</code> and <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">smtp.office365.com</code> as hostnames. This might save you sudden connection problems in the middle of September. The most recent MailMate release can be found here: <a href="https://updates.mailmate-app.com/archives" style="color: #3983C4;">https://updates.mailmate-app.com/archives</a></p>
<p dir="auto">Here's the long version:</p>
<p dir="auto">For some time, I've recommended using an app-specific password for <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">@outlook.com/@hotmail.com/@live.com</code> addresses and using OAuth2 for all other Office365-related addresses. Both types of addresses could be used with servers at <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">office365.com</code>, but I had trouble making the <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">@outlook.com</code>-family work with that and it wasn't clear to me earlier on (based on the labyrinthic Microsoft-documentation) if it was supposed to work at all. Last week I received an email from Microsoft about them going OAuth2-only, starting September 14th, and that likely meant that it was supposed to work :)</p>
<p dir="auto">I'm not sure if it was always like this or something changed, but the problem turned out to be that I was using Office365-specific so-called scopes:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">https://outlook.office365.com/IMAP.AccessAsUser.All https://outlook.office365.com/SMTP.Send offline_access
</code></pre>
<p dir="auto">I needed to change them to these scopes:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/SMTP.Send offline_access
</code></pre>
<p dir="auto">It's a technicality and I'm just putting this out there in case it's useful to someone else googling desperately. Or maybe someone will tell me that I'm wrong.</p>
<p dir="auto">This also means that the scopes used for Office365-accounts have changed. I'm not sure if this means that they'll need to re-authenticate.</p>
<p dir="auto">--<br>
Benny</p>

</div>
</div>
</body>

</html>