mailtm_client 1.0.5 copy "mailtm_client: ^1.0.5" to clipboard
mailtm_client: ^1.0.5 copied to clipboard

outdated

This package is a simple but complete mail.tm api wrapper, you can use this to save and manage your accounts, as well read all your temporary emails.

example/lib/main.dart

import 'package:mailtm_client/mailtm_client.dart';

void main() async {
  MailTm client = await MailTm.init(canSave: false);
  Account acc = await client.createAccount();
  List<Message> messages = await acc.getMessages();
  for (int i = 0; i < messages.length; i++) {
    print('''${i + 1} message:
          ${messages[i].from['name']}:
          ${messages[i].text} 
    ''');
  }
}
6
likes
0
pub points
29%
popularity

Publisher

verified publisherrandomdevs.org

This package is a simple but complete mail.tm api wrapper, you can use this to save and manage your accounts, as well read all your temporary emails.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, path, username_gen

More

Packages that depend on mailtm_client