Enough-Software / enough_mail

IMAP, POP3 and SMTP clients for Dart developers. Contains both low level as well as a high level API.
Mozilla Public License 2.0
100 stars 56 forks source link

ActiveSync support? #198

Open JohnGalt1717 opened 2 years ago

JohnGalt1717 commented 2 years ago

It would be amazing if this library supported ActiveSync for Exchange/Office365/Outlook.com/Hotmail addresses. It's a way better protocol than IMAP especially on mobile.

robert-virkus commented 2 years ago

AFAIK, ActiveSync is not developed anymore and replaced with Microsoft's graph api. Also, ActiveSync is not an open protocol, again: as far as I know.

In what way do you think that ActiveSync is better than IMAP?

But hey, I'm always open for PRs 😉!

JohnGalt1717 commented 2 years ago

Graph API might be viable for desktop apps, but it is way to expensive on battery for mobile. ActiveSync is closed on the server, but open on the client side and there is sample code on MS's site.

It's vastly better at push and way more reliable in flaky connections, not to mention way more battery efficient (which is what it was designed for). So much so, that before MS sued Google, Google used it by default.