mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
directly attempt to re-connect if the smtp connection is maybe stale
also refactor performing the job-action into own function
This commit is contained in:
@@ -53,6 +53,8 @@ impl Smtp {
|
||||
"Message len={} was smtp-sent to {}",
|
||||
message_len, recipients_display
|
||||
)));
|
||||
self.last_success = Some(std::time::Instant::now());
|
||||
|
||||
Ok(())
|
||||
} else {
|
||||
warn!(
|
||||
|
||||
Reference in New Issue
Block a user