author | zautrix <zautrix> | 2004-10-31 18:40:14 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-31 18:40:14 (UTC) |
commit | 16292c7f13b40a07b51b41c701cd106ccfd2f37b (patch) (unidiff) | |
tree | f3e2dfe11b00f1d910eaeaafd28b0d97aa717ce1 /kmicromail/libmailwrapper | |
parent | 043e2d256df36945779bf4568df46b6e4ae51e0e (diff) | |
download | kdepimpi-16292c7f13b40a07b51b41c701cd106ccfd2f37b.zip kdepimpi-16292c7f13b40a07b51b41c701cd106ccfd2f37b.tar.gz kdepimpi-16292c7f13b40a07b51b41c701cd106ccfd2f37b.tar.bz2 |
hope it works..
-rw-r--r-- | kmicromail/libmailwrapper/smtpwrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmicromail/libmailwrapper/smtpwrapper.cpp b/kmicromail/libmailwrapper/smtpwrapper.cpp index eb07ef1..f54fe2b 100644 --- a/kmicromail/libmailwrapper/smtpwrapper.cpp +++ b/kmicromail/libmailwrapper/smtpwrapper.cpp | |||
@@ -27,7 +27,7 @@ SMTPwrapper::SMTPwrapper(SMTPaccount * aSmtp ) | |||
27 | : Generatemail() | 27 | : Generatemail() |
28 | { | 28 | { |
29 | m_SmtpAccount = aSmtp; | 29 | m_SmtpAccount = aSmtp; |
30 | KConfig cfg( locateLocal("config", "kopiemail" ) ); | 30 | KConfig cfg( locateLocal("config", "kopiemailrc" ) ); |
31 | cfg.setGroup( "Status" ); | 31 | cfg.setGroup( "Status" ); |
32 | m_queuedMail = cfg.readNumEntry( "outgoing", 0 ); | 32 | m_queuedMail = cfg.readNumEntry( "outgoing", 0 ); |
33 | emit queuedMails( m_queuedMail ); | 33 | emit queuedMails( m_queuedMail ); |
@@ -132,7 +132,7 @@ bool SMTPwrapper::smtpSend( mailmime *mail,bool later) { | |||
132 | storeMail(data,size,"Outgoing"); | 132 | storeMail(data,size,"Outgoing"); |
133 | if (data) | 133 | if (data) |
134 | free( data ); | 134 | free( data ); |
135 | KConfig cfg( locateLocal("config", "kopiemail" ) ); | 135 | KConfig cfg( locateLocal("config", "kopiemailrc" ) ); |
136 | cfg.setGroup( "Status" ); | 136 | cfg.setGroup( "Status" ); |
137 | cfg.writeEntry( "outgoing", ++m_queuedMail ); | 137 | cfg.writeEntry( "outgoing", ++m_queuedMail ); |
138 | emit queuedMails( m_queuedMail ); | 138 | emit queuedMails( m_queuedMail ); |
@@ -452,7 +452,7 @@ bool SMTPwrapper::flushOutbox() { | |||
452 | m_SmtpAccount->setUser(oldUser); | 452 | m_SmtpAccount->setUser(oldUser); |
453 | m_SmtpAccount->setPassword(oldPw); | 453 | m_SmtpAccount->setPassword(oldPw); |
454 | } | 454 | } |
455 | KConfig cfg( locateLocal("config", "kopiemail" ) ); | 455 | KConfig cfg( locateLocal("config", "kopiemailrc" ) ); |
456 | cfg.setGroup( "Status" ); | 456 | cfg.setGroup( "Status" ); |
457 | m_queuedMail = 0; | 457 | m_queuedMail = 0; |
458 | cfg.writeEntry( "outgoing", m_queuedMail ); | 458 | cfg.writeEntry( "outgoing", m_queuedMail ); |