enough_mail 0.0.3 copy "enough_mail: ^0.0.3" to clipboard
enough_mail: ^0.0.3 copied to clipboard

outdated

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) and [SMTP](https://tools.ietf.org/h [...]

example/enough_mail_example.dart

import 'package:enough_mail/enough_mail.dart';

void 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}');
    }
  }

}
108
likes
0
pub points
92%
popularity

Publisher

verified publisherenough.de

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) and [SMTP](https://tools.ietf.org/html/rfc5321).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

event_bus

More

Packages that depend on enough_mail