| Crates.io | guerrillamail-client |
| lib.rs | guerrillamail-client |
| version | 0.2.1 |
| created_at | 2026-01-12 13:07:53.796551+00 |
| updated_at | 2026-01-18 12:34:19.499856+00 |
| description | Async Rust client for GuerrillaMail temporary email service |
| homepage | |
| repository | https://github.com/11philip22/guerrillamail-client-rs |
| max_upload_size | |
| id | 2037692 |
| size | 70,354 |

An async Rust client for the GuerrillaMail temporary email service.
Add to your Cargo.toml:
[dependencies]
guerrillamail = "0.1"
tokio = { version = "1", features = ["full"] }
use guerrillamail::Client;
#[tokio::main]
async fn main() -> Result<(), guerrillamail::Error> {
// Create a new client
let client = Client::new().await?;
// Create a temporary email address
let email = client.create_email("myalias", None).await?;
println!("Temporary email: {}", email);
// Check for messages
let messages = client.get_messages(&email).await?;
for msg in messages {
println!("From: {}", msg.mail_from);
println!("Subject: {}", msg.mail_subject);
}
// Delete when done
client.delete_email(&email).await?;
Ok(())
}
This library is a Rust port of GuerrillaMail-Python.
MIT License - see license for details.