Report print out for testing

This commit is contained in:
Tristan B. Kildaire 2020-07-20 20:37:23 +02:00
parent 690e601ab1
commit 7a3ff57364
1 changed files with 3 additions and 1 deletions

View File

@ -690,7 +690,9 @@ public final class ButterflyClient : Thread
string errorMessage = "There was an error delivery the mail to: "~to!(string)(recipients)~"\n";
errorMessage ~= "\nThe message was:\n\n"~mailBlock.toPrettyString();
deliveryReport["message"] = errorMessage;
writeln(deliveryReport);
/* Deliver the error message */
sendMail(deliveryReport);