author | alwin <alwin> | 2004-01-08 19:15:10 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-08 19:15:10 (UTC) |
commit | 6287f011db0a566d17ae1614d8129f421125d934 (patch) (side-by-side diff) | |
tree | 8c449974e9b577fe8dcc5348c4d109e82659b218 /noncore/net/mail/libmailwrapper/smtpwrapper.cpp | |
parent | 44443aec5d4b8f974b30b1e9b4ea920d6582add1 (diff) | |
download | opie-6287f011db0a566d17ae1614d8129f421125d934.zip opie-6287f011db0a566d17ae1614d8129f421125d934.tar.gz opie-6287f011db0a566d17ae1614d8129f421125d934.tar.bz2 |
MH storage implemented
local folders will be type of MH not MBOX
Diffstat (limited to 'noncore/net/mail/libmailwrapper/smtpwrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/smtpwrapper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/smtpwrapper.cpp b/noncore/net/mail/libmailwrapper/smtpwrapper.cpp index 281b88e..08f6bb7 100644 --- a/noncore/net/mail/libmailwrapper/smtpwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/smtpwrapper.cpp @@ -11,13 +11,13 @@ #include <qpe/qcopenvelope_qws.h> #include <libetpan/libetpan.h> #include "smtpwrapper.h" #include "mailwrapper.h" -#include "mboxwrapper.h" +#include "abstractmail.h" #include "logindialog.h" #include "mailtypes.h" //#include "defines.h" #include "sendmailprogress.h" const char* SMTPwrapper::USER_AGENT="OpieMail v0.3"; @@ -487,12 +487,13 @@ void SMTPwrapper::progress( size_t current, size_t maximum ) void SMTPwrapper::storeMail(const char*mail, size_t length, const QString&box) { if (!mail) return; QString localfolders = AbstractMail::defaultLocalfolder(); AbstractMail*wrap = AbstractMail::getWrapper(localfolders); + wrap->createMbox(box); wrap->storeMessage(mail,length,box); delete wrap; } void SMTPwrapper::smtpSend( mailmime *mail,bool later, SMTPaccount *smtp ) { |