Don't put the report in the 'Sent' folder

This commit is contained in:
Tristan B. Kildaire 2021-01-23 19:26:59 +02:00
parent d0450e4c89
commit 8ec842ca71
2 changed files with 2 additions and 3 deletions

View File

@ -752,6 +752,5 @@ public final class ButterflyClient : Thread
gprintln("Saved mail message to sent folder");
}
}
}

View File

@ -170,8 +170,8 @@ public final class MailSender : Thread
gprintln(deliveryReport);
/* Deliver the error message */
client.sendMail(deliveryReport);
/* Deliver the error message (and don't put the report in the sent box) */
client.sendMail(deliveryReport, false);
gprintln("Mail delivery report sent: " ~ deliveryReport.toPrettyString());