summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2014-02-02 20:59:01 +0100
committerSebastian Reichel <sre@ring0.de>2014-02-02 20:59:01 +0100
commitfe3e87b21a2efb48343cb854d3213fa456199961 (patch)
treee9efff32090d20dacd51a6389c77b29caebcb226
parent74f18e78c20ad983abbb8a0e5357bd529cdfd1f1 (diff)
downloadserial-barcode-scanner-fe3e87b21a2efb48343cb854d3213fa456199961.tar.bz2
Revert "invoice: delete sent mails from mail manager"
This reverts commit 74f18e78c20ad983abbb8a0e5357bd529cdfd1f1.
-rw-r--r--src/invoice/invoice.vala2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/invoice/invoice.vala b/src/invoice/invoice.vala
index 9e7c1bf..832f05b 100644
--- a/src/invoice/invoice.vala
+++ b/src/invoice/invoice.vala
@@ -118,7 +118,6 @@ public class InvoiceImplementation {
mail.set_main_part(html, MessageType.HTML);
mailer.send_mail(mail_path);
- mailer.delete_mail(mail_path);
if(!temporary) {
treasurer_mail.add_attachment(pdffilename, "application/pdf", pdfdata);
@@ -130,7 +129,6 @@ public class InvoiceImplementation {
treasurer_mail.set_main_part(get_treasurer_text(), MessageType.PLAIN);
treasurer_mail.add_attachment("invoice.csv", "text/csv; charset=utf-8", csvinvoicedata.data);
mailer.send_mail(treasurer_path);
- mailer.delete_mail(treasurer_path);
}
}