mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Set Smtp.error when SMTP fails to send message
This commit is contained in:
@@ -152,6 +152,7 @@ impl Smtp {
|
||||
}
|
||||
Err(err) => {
|
||||
warn!(context, 0, "SMTP failed to send message: {}", err);
|
||||
self.error = Some(format!("{}", err));
|
||||
0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user