mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 03:46:32 +03:00
smtp: retry immediately if connection is stale
This commit is contained in:
@@ -318,7 +318,7 @@ impl Job {
|
||||
return Status::RetryLater;
|
||||
}
|
||||
|
||||
let status = smtp_send(context, recipients, body, smtp, msg_id, 0).await;
|
||||
let status = smtp_send(context, &recipients, &body, smtp, msg_id, 0).await;
|
||||
if matches!(status, Status::Finished(Ok(_))) {
|
||||
// Remove additional SendMdn jobs we have aggregated into this one.
|
||||
job_try!(kill_ids(context, &additional_job_ids).await);
|
||||
|
||||
Reference in New Issue
Block a user