mirror of
https://github.com/chatmail/core.git
synced 2026-05-12 19:36:32 +03:00
feat(smtp): more verbose SMTP connection establishment errors
The greeting is now always read manually, even for STARTTLS connections, so the errors returned on failure to read form the stream are the same regardless of the connection type.
This commit is contained in:
@@ -142,7 +142,7 @@ impl Smtp {
|
||||
{
|
||||
Ok(transport) => transport,
|
||||
Err(err) => {
|
||||
warn!(context, "SMTP failed to connect: {err:#}.");
|
||||
warn!(context, "SMTP failed to connect and authenticate: {err:#}.");
|
||||
continue;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user