author | alwin <alwin> | 2004-01-04 12:22:24 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-04 12:22:24 (UTC) |
commit | 1f04dc232d4c0ddd17fc49b6c779bd6b97678e0a (patch) (side-by-side diff) | |
tree | 89e3a13e8dd806c82a0b25d6fd0d06ff7442272c /noncore/net/mail/libmailwrapper/smtpwrapper.cpp | |
parent | ae4774bdbbe1e6c28f8e4238c5a98d1fb6677880 (diff) | |
download | opie-1f04dc232d4c0ddd17fc49b6c779bd6b97678e0a.zip opie-1f04dc232d4c0ddd17fc49b6c779bd6b97678e0a.tar.gz opie-1f04dc232d4c0ddd17fc49b6c779bd6b97678e0a.tar.bz2 |
some cleanups
Diffstat (limited to 'noncore/net/mail/libmailwrapper/smtpwrapper.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/smtpwrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/mail/libmailwrapper/smtpwrapper.cpp b/noncore/net/mail/libmailwrapper/smtpwrapper.cpp index b9c4ff2..e054365 100644 --- a/noncore/net/mail/libmailwrapper/smtpwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/smtpwrapper.cpp @@ -21,5 +21,5 @@ #include "sendmailprogress.h" -#define USER_AGENT "OpieMail v0.1" +const char* SMTPwrapper::USER_AGENT="OpieMail v0.3"; progressMailSend*SMTPwrapper::sendProgress = 0; @@ -489,5 +489,5 @@ void SMTPwrapper::storeMail(char*mail, size_t length, const QString&box) { if (!mail) return; - QString localfolders = (QString) getenv( "HOME" ) + QString("/Applications/opiemail/localmail/"); + QString localfolders = AbstractMail::defaultLocalfolder(); MBOXwrapper*wrap = new MBOXwrapper(localfolders); wrap->storeMessage(mail,length,box); @@ -690,5 +690,5 @@ bool SMTPwrapper::flushOutbox(SMTPaccount*smtp) if (!smtp) return false; - QString localfolders = (QString) getenv( "HOME" ) + QString("/Applications/opiemail/localmail/"); + QString localfolders = AbstractMail::defaultLocalfolder(); MBOXwrapper*wrap = new MBOXwrapper(localfolders); if (!wrap) { |