summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/pop3wrapper.cpp5
-rw-r--r--noncore/net/mail/pop3wrapper.cpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
index b4a8f4b..a33a16b 100644
--- a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
@@ -76,4 +76,6 @@ void POP3wrapper::listMessages(const QString &, QList<RecMail> &target )
mailpop3_msg_info *info;
err = mailpop3_get_msg_info(m_pop3,i+1,&info);
+ if (info->msg_deleted)
+ continue;
err = mailpop3_header( m_pop3, info->msg_index, &header, &length );
if ( err != MAILPOP3_NO_ERROR ) {
@@ -318,5 +320,5 @@ QList<Folder>* POP3wrapper::listFolders()
{
/* TODO: integrate MH directories
- but not vor version 0.1 ;)
+ but not before version 0.1 ;)
*/
QList<Folder> * folders = new QList<Folder>();
@@ -345,2 +347,3 @@ void POP3wrapper::answeredMail(const RecMail&)
{
}
+
diff --git a/noncore/net/mail/pop3wrapper.cpp b/noncore/net/mail/pop3wrapper.cpp
index b4a8f4b..a33a16b 100644
--- a/noncore/net/mail/pop3wrapper.cpp
+++ b/noncore/net/mail/pop3wrapper.cpp
@@ -76,4 +76,6 @@ void POP3wrapper::listMessages(const QString &, QList<RecMail> &target )
mailpop3_msg_info *info;
err = mailpop3_get_msg_info(m_pop3,i+1,&info);
+ if (info->msg_deleted)
+ continue;
err = mailpop3_header( m_pop3, info->msg_index, &header, &length );
if ( err != MAILPOP3_NO_ERROR ) {
@@ -318,5 +320,5 @@ QList<Folder>* POP3wrapper::listFolders()
{
/* TODO: integrate MH directories
- but not vor version 0.1 ;)
+ but not before version 0.1 ;)
*/
QList<Folder> * folders = new QList<Folder>();
@@ -345,2 +347,3 @@ void POP3wrapper::answeredMail(const RecMail&)
{
}
+