From 9e7aafdb7c76d29fee742d53131a73dd60aded2b Mon Sep 17 00:00:00 2001 From: alwin Date: Mon, 22 Dec 2003 02:37:35 +0000 Subject: - storing mails send in outgoing (if queued) or sent (if sent) folder TODO: flush queue, cleanup SMTP code, select smtp-account if more than one when flush the outgoing queue --- (limited to 'noncore/net/mail/composemail.cpp') diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index f680f5c..f532815 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp @@ -168,6 +168,7 @@ void ComposeMail::accept() smtpAccounts.at( fromBox->currentItem() )->getAccountName() ); Mail *mail = new Mail(); SMTPaccount *smtp = smtpAccounts.at( fromBox->currentItem() ); + mail->setMail( smtp->getMail() ); mail->setName( smtp->getName() ); @@ -195,7 +196,7 @@ void ComposeMail::accept() } SMTPwrapper wrapper( settings ); - wrapper.sendMail( *mail ); + wrapper.sendMail( *mail,checkBoxLater->isChecked() ); QDialog::accept(); } -- cgit v0.9.0.2