MailOdds SDK for Rust
Official Rust client for the MailOdds Email Validation API.
Installation
Add to your Cargo.toml:
[]
= "1.0"
Quick Start
use Configuration;
use validate_email;
use ;
async
Response Handling
Branch on the action field for decisioning:
| Action | Meaning | Recommended |
|---|---|---|
accept |
Safe to send | Add to mailing list |
accept_with_caution |
Valid but risky (catch-all, role account) | Flag for review |
reject |
Invalid or disposable | Do not send |
retry_later |
Temporary failure | Retry after backoff |
Test Mode
Use an mo_test_ prefixed API key with test domains for predictable responses without consuming credits.
API Reference
Full API documentation: https://mailodds.com/docs OpenAPI spec: https://mailodds.com/openapi.yaml
License
MIT