author | alwin <alwin> | 2004-01-05 02:03:01 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-05 02:03:01 (UTC) |
commit | 4fca3779614c863443ff09295fd0af19b9d9310e (patch) (unidiff) | |
tree | 666ba052b9dd440f9b2a8df8913a01571e32444c /noncore/net/mail/libmailwrapper/pop3wrapper.cpp | |
parent | 2cf0c79cb325bff1c869febdd83429a5572b1e38 (diff) | |
download | opie-4fca3779614c863443ff09295fd0af19b9d9310e.zip opie-4fca3779614c863443ff09295fd0af19b9d9310e.tar.gz opie-4fca3779614c863443ff09295fd0af19b9d9310e.tar.bz2 |
returns their type of connection (mbox,imap or pop3)
Diffstat (limited to 'noncore/net/mail/libmailwrapper/pop3wrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/pop3wrapper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp index b4eca6f..45408dd 100644 --- a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp +++ b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp | |||
@@ -232,6 +232,11 @@ void POP3wrapper::fetchRawBody(const RecMail&mail,char**target,size_t*length) | |||
232 | { | 232 | { |
233 | mailmessage * mailmsg = 0; | 233 | mailmessage * mailmsg = 0; |
234 | int err = mailsession_get_message(m_folder->fld_session, mail.getNumber(), &mailmsg); | 234 | int err = mailsession_get_message(m_folder->fld_session, mail.getNumber(), &mailmsg); |
235 | err = mailmessage_fetch(mailmsg,target,length); | 235 | err = mailmessage_fetch(mailmsg,target,length); |
236 | if (mailmsg) mailmessage_free(mailmsg); | 236 | if (mailmsg) mailmessage_free(mailmsg); |
237 | } | 237 | } |
238 | |||
239 | const QString&POP3wrapper::getType()const | ||
240 | { | ||
241 | return account->getType(); | ||
242 | } | ||