summaryrefslogtreecommitdiff
authoralwin <alwin>2004-01-06 10:50:04 (UTC)
committer alwin <alwin>2004-01-06 10:50:04 (UTC)
commit37ac44d5582a5c4793482ed544a38a014c5fe8a2 (patch) (unidiff)
tree9dea89a03d7d3ebf68190ff55848b6756a4b47d6
parentd462abe3a8f908111eeb9bdf1b2675a0bc322edc (diff)
downloadopie-37ac44d5582a5c4793482ed544a38a014c5fe8a2.zip
opie-37ac44d5582a5c4793482ed544a38a014c5fe8a2.tar.gz
opie-37ac44d5582a5c4793482ed544a38a014c5fe8a2.tar.bz2
hopefully fixed problems when logging into pop3 servers
it seems, that APOP login isn't working
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/pop3wrapper.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
index 72c145b..ec4dcd2 100644
--- a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
@@ -140,3 +140,5 @@ void POP3wrapper::login()
140 m_pop3=mailstorage_new(NULL); 140 m_pop3=mailstorage_new(NULL);
141 pop3_mailstorage_init(m_pop3,(char*)server,port,NULL,CONNECTION_TYPE_TRY_STARTTLS,POP3_AUTH_TYPE_TRY_APOP, 141 int conntype = (ssl?CONNECTION_TYPE_TLS:CONNECTION_TYPE_PLAIN);
142
143 pop3_mailstorage_init(m_pop3,(char*)server,port,NULL,conntype,POP3_AUTH_TYPE_PLAIN,
142 (char*)user,(char*)pass,0,0,0); 144 (char*)user,(char*)pass,0,0,0);
@@ -159,3 +161,2 @@ void POP3wrapper::login()
159 } 161 }
160 qDebug( "POP3: logged in!" );
161} 162}