Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

fix(core): Fix gmail test

Amauryea80690b4168
diff --git a/core/src/smtp/mod.rs b/core/src/smtp/mod.rs
index b0f76220..d4b613fa 100644
--- a/core/src/smtp/mod.rs
+++ b/core/src/smtp/mod.rs
@@ -213,6 +213,7 @@ mod tests {
let to_email = EmailAddress::from_str("[email protected]").unwrap();
let host = Name::from_str("alt4.aspmx.l.google.com.").unwrap();
let mut input = CheckEmailInput::default();
+ input.set_gmail_verif_method(crate::GmailVerifMethod::Smtp);
input.set_smtp_timeout(Some(Duration::from_millis(1)));
let (res, smtp_debug) =