Untitled

 avatar
unknown
plain_text
15 days ago
528 B
4
Indexable
use check_if_email_exists::{check_email, CheckEmailInput, CheckEmailInputProxy};

#[tokio::main]
async fn main() {
    let mut input = CheckEmailInput::new("jeff@amazon.com".to_string());
    input.proxy = Some(CheckEmailInputProxy {
        host: "47.122.56.158".to_string(),
        port: 7777,
        username: None, // Add username if proxy requires authentication
        password: None, // Add password if proxy requires authentication
    });

    let result = check_email(&input).await;
    println!("{:?}", result);
}
Leave a Comment