fix smtp discovery wrong config

This commit is contained in:
Clément DOUIN
2024-02-23 08:46:21 +01:00
parent 5cb247169a
commit 79da9404f3
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ pub(crate) async fn configure(
let autoconfig_oauth2 = autoconfig.and_then(|c| c.oauth2());
let autoconfig_server = autoconfig.and_then(|c| {
c.email_provider()
.incoming_servers()
.outgoing_servers()
.into_iter()
.find(|server| matches!(server.server_type(), ServerType::Smtp))
});