Repository navigation
[Bug]Personal Outlook account (Graph) cannot send: Authentication failed for smtp.office365.com:587 #22
Replies: 1 comment 2 replies
|
Fixed in 2.19.0, out now. Update from the app or download it from mailvaultapp.com. Your reading of the source was right. Accounts added with "Sign in with Microsoft" get a token for Microsoft Graph ( What changed in 2.19.0:
One limit for now: a message over about 4 MB (attachments included) cannot be sent from these accounts yet. Graph caps a single send request at 4 MB, and the app says so instead of failing silently. Bigger messages need a different route through Graph, which I'm working on. If you send with Bcc, please let me know whether the Bcc recipients get their copy. It works against our test server, but I'd like a confirmation from a real Outlook.com mailbox. Thanks for the detailed report and the pointer to the source. |




Fixed in 2.19.0, out now. Update from the app or download it from mailvaultapp.com.
Your reading of the source was right. Accounts added with "Sign in with Microsoft" get a token for Microsoft Graph (
Mail.ReadWrite Mail.Send), but sending still went tosmtp.office365.comover XOAUTH2 with that token. SMTP needs a token for a different resource, so the server refused it every time. Switching tosmtp-mail.outlook.comwould not have helped, for the same reason.What changed in 2.19.0:
POST /me/sendMail). That covers normal sends, replies, forwards and scheduled sends.