Skip to content

Add IMAP Support for Microsoft Office 365 #31

@arcade45

Description

@arcade45

I'm trying to log in into an exchange online imap mailbox with this command:

./dmarc-report-viewer --imap-host outlook.office365.com --imap-user user@randomdomain.com --imap-password randompwd --http-server-user randomhttpuser --http-server-password randomhttppwd --log-level trace

And I'm getting this error:

DEBUG Got 52.98.248.210:993 as as socket address for IMAP endpoint outlook.office365.com:993
DEBUG Created TCP stream
DEBUG Created async TCP stream
DEBUG Directly creating TLS stream...
DEBUG Created Root CA cert store
DEBUG Created TLS client config
DEBUG Created TLS connector
DEBUG Got DNS name: DnsName("outlook.office365.com")
DEBUG Created TLS stream
DEBUG Created IMAP client
ERROR Failed background update: Failed to get mails: Failed to log in and create IMAP session: no response: code: None, info: Some("LOGIN failed.")

I've verified that credentials are correct and that IMAP is enabled for this mailbox.

Any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions