mailslurp 11.6.16 icon indicating copy to clipboard operation
mailslurp: ^11.6.16 copied to clipboard

MailSlurp

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mailslurp

With Flutter:

 $ flutter pub add mailslurp

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  mailslurp: ^11.6.16

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mailslurp/api.dart';
import 'package:mailslurp/api/alias_controller_api.dart';
import 'package:mailslurp/api/attachment_controller_api.dart';
import 'package:mailslurp/api/bulk_actions_controller_api.dart';
import 'package:mailslurp/api/common_actions_controller_api.dart';
import 'package:mailslurp/api/contact_controller_api.dart';
import 'package:mailslurp/api/domain_controller_api.dart';
import 'package:mailslurp/api/email_controller_api.dart';
import 'package:mailslurp/api/expired_controller_api.dart';
import 'package:mailslurp/api/form_controller_api.dart';
import 'package:mailslurp/api/group_controller_api.dart';
import 'package:mailslurp/api/inbox_controller_api.dart';
import 'package:mailslurp/api/mail_server_controller_api.dart';
import 'package:mailslurp/api/sent_emails_controller_api.dart';
import 'package:mailslurp/api/template_controller_api.dart';
import 'package:mailslurp/api/wait_for_controller_api.dart';
import 'package:mailslurp/api/webhook_controller_api.dart';
import 'package:mailslurp/api_client.dart';
import 'package:mailslurp/api_exception.dart';
import 'package:mailslurp/api_helper.dart';
import 'package:mailslurp/auth/api_key_auth.dart';
import 'package:mailslurp/auth/authentication.dart';
import 'package:mailslurp/auth/http_basic_auth.dart';
import 'package:mailslurp/auth/http_bearer_auth.dart';
import 'package:mailslurp/auth/oauth.dart';
import 'package:mailslurp/model/alias.dart';
import 'package:mailslurp/model/alias_dto.dart';
import 'package:mailslurp/model/alias_projection.dart';
import 'package:mailslurp/model/attachment_meta_data.dart';
import 'package:mailslurp/model/basic_auth_options.dart';
import 'package:mailslurp/model/bulk_send_email_options.dart';
import 'package:mailslurp/model/contact_dto.dart';
import 'package:mailslurp/model/contact_projection.dart';
import 'package:mailslurp/model/content_match_options.dart';
import 'package:mailslurp/model/create_alias_options.dart';
import 'package:mailslurp/model/create_contact_options.dart';
import 'package:mailslurp/model/create_domain_options.dart';
import 'package:mailslurp/model/create_group_options.dart';
import 'package:mailslurp/model/create_inbox_dto.dart';
import 'package:mailslurp/model/create_template_options.dart';
import 'package:mailslurp/model/create_webhook_options.dart';
import 'package:mailslurp/model/describe_domain_options.dart';
import 'package:mailslurp/model/describe_mail_server_domain_result.dart';
import 'package:mailslurp/model/dns_lookup_options.dart';
import 'package:mailslurp/model/dns_lookup_result.dart';
import 'package:mailslurp/model/dns_lookup_results.dart';
import 'package:mailslurp/model/domain_dto.dart';
import 'package:mailslurp/model/domain_name_record.dart';
import 'package:mailslurp/model/domain_preview.dart';
import 'package:mailslurp/model/download_attachment_dto.dart';
import 'package:mailslurp/model/email.dart';
import 'package:mailslurp/model/email_analysis.dart';
import 'package:mailslurp/model/email_content_match_result.dart';
import 'package:mailslurp/model/email_preview.dart';
import 'package:mailslurp/model/email_projection.dart';
import 'package:mailslurp/model/email_text_lines_result.dart';
import 'package:mailslurp/model/email_verification_result.dart';
import 'package:mailslurp/model/expiration_defaults.dart';
import 'package:mailslurp/model/expired_inbox_dto.dart';
import 'package:mailslurp/model/expired_inbox_record_projection.dart';
import 'package:mailslurp/model/forward_email_options.dart';
import 'package:mailslurp/model/group_contacts_dto.dart';
import 'package:mailslurp/model/group_dto.dart';
import 'package:mailslurp/model/group_projection.dart';
import 'package:mailslurp/model/html_validation_result.dart';
import 'package:mailslurp/model/inbox.dart';
import 'package:mailslurp/model/inbox_projection.dart';
import 'package:mailslurp/model/ip_address_result.dart';
import 'package:mailslurp/model/match_option.dart';
import 'package:mailslurp/model/match_options.dart';
import 'package:mailslurp/model/name_server_record.dart';
import 'package:mailslurp/model/organization_inbox_projection.dart';
import 'package:mailslurp/model/page_alias.dart';
import 'package:mailslurp/model/page_contact_projection.dart';
import 'package:mailslurp/model/page_email_preview.dart';
import 'package:mailslurp/model/page_email_projection.dart';
import 'package:mailslurp/model/page_expired_inbox_record_projection.dart';
import 'package:mailslurp/model/page_group_projection.dart';
import 'package:mailslurp/model/page_inbox_projection.dart';
import 'package:mailslurp/model/page_organization_inbox_projection.dart';
import 'package:mailslurp/model/page_sent_email_projection.dart';
import 'package:mailslurp/model/page_template_projection.dart';
import 'package:mailslurp/model/page_thread_projection.dart';
import 'package:mailslurp/model/page_webhook_projection.dart';
import 'package:mailslurp/model/pageable.dart';
import 'package:mailslurp/model/raw_email_json.dart';
import 'package:mailslurp/model/reply_to_alias_email_options.dart';
import 'package:mailslurp/model/reply_to_email_options.dart';
import 'package:mailslurp/model/send_email_options.dart';
import 'package:mailslurp/model/sent_email_dto.dart';
import 'package:mailslurp/model/sent_email_projection.dart';
import 'package:mailslurp/model/set_inbox_favourited_options.dart';
import 'package:mailslurp/model/simple_send_email_options.dart';
import 'package:mailslurp/model/sort.dart';
import 'package:mailslurp/model/template_dto.dart';
import 'package:mailslurp/model/template_projection.dart';
import 'package:mailslurp/model/template_variable.dart';
import 'package:mailslurp/model/thread_projection.dart';
import 'package:mailslurp/model/unread_count.dart';
import 'package:mailslurp/model/update_alias_options.dart';
import 'package:mailslurp/model/update_domain_options.dart';
import 'package:mailslurp/model/update_group_contacts.dart';
import 'package:mailslurp/model/update_inbox_options.dart';
import 'package:mailslurp/model/upload_attachment_options.dart';
import 'package:mailslurp/model/validation_dto.dart';
import 'package:mailslurp/model/validation_message.dart';
import 'package:mailslurp/model/verify_email_address_options.dart';
import 'package:mailslurp/model/wait_for_conditions.dart';
import 'package:mailslurp/model/webhook_dto.dart';
import 'package:mailslurp/model/webhook_projection.dart';
import 'package:mailslurp/model/webhook_test_request.dart';
import 'package:mailslurp/model/webhook_test_response.dart';
import 'package:mailslurp/model/webhook_test_result.dart';