Fixed error report sending code placement.

This commit is contained in:
Tristan B. Kildaire 2020-07-20 20:41:48 +02:00
parent 1c43e05e70
commit 2f204f0e83
1 changed files with 25 additions and 24 deletions

View File

@ -675,6 +675,11 @@ public final class ButterflyClient : Thread
}
}
writeln("Sent mail message");
}
writeln("Mail delivered");
/**
* If there are failed sends then send an error message
* to the sender.
@ -699,10 +704,6 @@ public final class ButterflyClient : Thread
writeln("Mail delivery report sent: "~deliveryReport.toPrettyString());
}
writeln("Sent mail message");
}
writeln("Mail delivered");
/* Store the message in this user's "Sent" folder */
Folder sentFolder = new Folder(mailbox, "Sent");