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

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/main.dart

import 'package:mailtm_client/mailtm_client.dart';

void main() async {
  final user = await MailTm.register();
  print('Send a message to ${user.account.address}');

  /// user.messages() can also be listened to!
  final message = await user.messages().first;
  final messages = await user.allMessages().toList();
  print(message == messages.first);
  
  await user.delete();
}
4
likes
120
pub points
36%
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

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

dio, dio_smart_retry, freezed_annotation, json_annotation, mercure_client, retrofit

More

Packages that depend on mailtm_client