Skip to main content

yopmail_client/
lib.rs

1//! Yopmail client for fetching and sending disposable email.
2//!
3//! This crate exposes a high-level client plus models and error types used by the API.
4
5pub mod client;
6pub mod constants;
7pub mod error;
8pub mod models;
9
10pub use client::{generate_random_mailbox, YopmailClient, YopmailClientBuilder};
11pub use constants::{
12    default_headers, default_timeout, ALT_DOMAINS, DEFAULT_DOMAIN, DEFAULT_HEADERS,
13    DEFAULT_TIMEOUT_SECS,
14};
15pub use error::Error;
16pub use models::{Attachment, Message, MessageContent, RssItem};