mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
chore: rustfmt
This commit is contained in:
@@ -790,7 +790,10 @@ async fn send_mdn(context: &Context, smtp: &mut Smtp) -> Result<bool> {
|
|||||||
if let Err(ref err) = res {
|
if let Err(ref err) = res {
|
||||||
// If there is an error, for example there is no message corresponding to the msg_id in the
|
// If there is an error, for example there is no message corresponding to the msg_id in the
|
||||||
// database, do not try to send this MDN again.
|
// database, do not try to send this MDN again.
|
||||||
warn!(context, "Error sending MDN for {msg_id}, removing it: {err:#}.");
|
warn!(
|
||||||
|
context,
|
||||||
|
"Error sending MDN for {msg_id}, removing it: {err:#}."
|
||||||
|
);
|
||||||
context
|
context
|
||||||
.sql
|
.sql
|
||||||
.execute("DELETE FROM smtp_mdns WHERE msg_id = ?", (msg_id,))
|
.execute("DELETE FROM smtp_mdns WHERE msg_id = ?", (msg_id,))
|
||||||
|
|||||||
Reference in New Issue
Block a user