Bump to mail-send 0.4.6
This commit is contained in:
@@ -55,6 +55,7 @@ impl SmtpDirectory {
|
||||
.value("server.hostname")
|
||||
.unwrap_or("[127.0.0.1]")
|
||||
.to_string(),
|
||||
say_ehlo: false,
|
||||
},
|
||||
max_rcpt: config.property_or_static((&prefix, "limits.rcpt"), "10")?,
|
||||
max_auth_errors: config.property_or_static((&prefix, "limits.auth-errors"), "3")?,
|
||||
|
||||
@@ -33,7 +33,7 @@ impl managed::Manager for SmtpConnectionManager {
|
||||
type Error = Error;
|
||||
|
||||
async fn create(&self) -> Result<SmtpClient, Error> {
|
||||
let mut client = self.builder.connect_opts(false).await?;
|
||||
let mut client = self.builder.connect().await?;
|
||||
let capabilities = client
|
||||
.capabilities(&self.builder.local_host, self.builder.is_lmtp)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user