From 3fcd73252451f618dcecf34e1e6b2b261cf123b9 Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaury1729@users.noreply.github.com> Date: Wed, 11 Oct 2023 16:57:59 +0200 Subject: [PATCH] Fix test --- core/src/smtp/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/smtp/mod.rs b/core/src/smtp/mod.rs index a1b815a02..89d3ca91f 100644 --- a/core/src/smtp/mod.rs +++ b/core/src/smtp/mod.rs @@ -120,7 +120,7 @@ mod tests { let runtime = Runtime::new().unwrap(); let to_email = EmailAddress::from_str("foo@gmail.com").unwrap(); - let host = Name::from_str("gmail.com").unwrap(); + let host = Name::from_str("alt4.aspmx.l.google.com.").unwrap(); let mut input = CheckEmailInput::default(); input.set_smtp_timeout(Some(Duration::from_millis(1)));