dev_imap_client 0.0.1 copy "dev_imap_client: ^0.0.1" to clipboard
dev_imap_client: ^0.0.1 copied to clipboard

A Dart IMAP client for connecting to mail servers, retrieving emails, and managing mailboxes with secure SSL/TLS support.

example/lib/main.dart

import 'package:dev_imap_client/dev_imap_client.dart';

void main() async {
  /// Enable debug logs
  DevIMAPClient.enableDebugLogs(true);

  final client = DevIMAPClient(
    host: 'imap.gmail.com',
    port: 993,
    isSecure: true,
  );

  /// Connect
  await client.connect('test@example.com', 'password');

  /// Fetch mailboxes & subjects
  await client.listMailboxes();
  await client.fetchInboxSubjects();

  /// Disconnect
  await client.disconnect();
}
0
likes
160
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart IMAP client for connecting to mail servers, retrieving emails, and managing mailboxes with secure SSL/TLS support.

Homepage

License

MIT (license)

Dependencies

flutter, logging

More

Packages that depend on dev_imap_client