diff --git a/lettre/src/smtp/client/net.rs b/lettre/src/smtp/client/net.rs index af00c55..773ef78 100644 --- a/lettre/src/smtp/client/net.rs +++ b/lettre/src/smtp/client/net.rs @@ -24,8 +24,8 @@ impl ClientTlsParameters { } /// Accepted protocols by default. -/// This removes TLS 1.0 compared to tls-native defaults. -pub const DEFAULT_TLS_PROTOCOLS: &[Protocol] = &[Protocol::Tlsv11, Protocol::Tlsv12]; +/// This removes TLS 1.0 and 1.1 compared to tls-native defaults. +pub const DEFAULT_TLS_PROTOCOLS: &[Protocol] = &[Protocol::Tlsv12]; #[derive(Debug)] /// Represents the different types of underlying network streams