Skip to content

Commit

Permalink
Fix possibly tls
Browse files Browse the repository at this point in the history
  • Loading branch information
MTRNord committed Nov 4, 2023
1 parent 1a0a53f commit 5590f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/erooster_smtp/src/commands/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ impl DataCommand<'_> {
data
};

// Create a resolver using Quad9 DNS
let resolver = Resolver::new_quad9_tls()?;
// Create a resolver using System DNS
let resolver = Resolver::new_system_conf()?;
// Parse message
let authenticated_message = AuthenticatedMessage::parse(data.as_bytes())
.context("Failed to parse email")?;
Expand Down

0 comments on commit 5590f49

Please sign in to comment.