enough_mail 0.0.4 enough_mail: ^0.0.4 copied to clipboard
IMAP and SMTP clients in pure Dart. Strives to be compliant with [IMAP4 rev1](https://tools.ietf.org/html/rfc3501), [IMAP IDLE](https://tools.ietf.org/html/rfc2177), [IMAP METADATA Extension](https:// [...]
An experimental IMAP and SMTP client for Dart developers.
Available under the commercial friendly MPL Mozilla Public License 2.0.
Usage #
A simple usage example:
import 'package:enough_mail/enough_mail.dart';
main() async {
var client = ImapClient(isLogEnabled: true);
await client.connectToServer('imap.example.com', 993, isSecure: true);
var loginResponse = await client.login('user.name', 'secret');
if (loginResponse.isOkStatus) {
var listResponse = await client.listMailboxes();
if (listResponse.isOkStatus) {
print('mailboxes: ${listResponse.result}');
}
}
}
Installation #
Add this dependency your pubspec.yaml file:
dependencies:
enough_mail: ^0.0.4
The latest version or enough_mail
is .
Features and bugs #
Please file feature requests and bugs at the issue tracker.
Want to contribute? Please check out contribute.
Done:
- ✅ basic IMAP4 rev1 support
- ✅ IMAP IDLE support
- ✅ basic SMTP support
- ✅ IMAP METADATA support
Open:
- hardening & bugfixing
- support more encodings
- improve performance
- support OAuth 2.0 for login
- support IMAP4 rev1 fully
- support WebPush IMAP Extension
- support Open PGP
- support POP3
- support MIME Pasing