Skip to content

Modern IMAP Servers / XOAUTH2 #211

@samarai-jk

Description

@samarai-jk

Hi there, I forked mailio and added SASL/XOAUTH2 authentication, tested so far with Gmail and Outlook. I've also added a few other goodies like a dedupe hash for messages (SHA256 of the raw RFC822 data) and a uid field in the message class, both to facilitate message processing. Let me know if you want these changes and I send a patch.

But I have a question... For some time now it's not possible to authenticate against Google and Microsoft servers without OAuth2, which makes me think how is it possible mailio does not have this feature yet? Unless you use the library in a corporate, controlled environment, without OAuth2 you exclude a huge chunk of real world email accounts from being accessed with it. Also, once I got the auth working, imap::fetch chocked on Microsoft servers, same issue as in #135, I patched that too. But this again got me thinking, how is it possible I'm the first to figure this out. I guess what I'm asking is: Is anyone still using this library? Is it actively maintained?

Thanks!
J

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions