diff options
author | Vincent Richard <[email protected]> | 2010-05-04 10:49:10 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2010-05-04 10:49:10 +0000 |
commit | 6fb89acf384c8803b03d8f758de254cfa9a5a302 (patch) | |
tree | 3cbda4314f863aea48bdcdc77a307f4cc6c02218 | |
parent | Fixed typo. (diff) | |
download | vmime-6fb89acf384c8803b03d8f758de254cfa9a5a302.tar.gz vmime-6fb89acf384c8803b03d8f758de254cfa9a5a302.zip |
Use STARTTLS for additional connections (thanks to Andrei).
-rw-r--r-- | src/net/imap/IMAPConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp index 6e5a265c..825a002b 100644 --- a/src/net/imap/IMAPConnection.cpp +++ b/src/net/imap/IMAPConnection.cpp @@ -156,7 +156,7 @@ void IMAPConnection::connect() const bool tlsRequired = HAS_PROPERTY(PROPERTY_CONNECTION_TLS_REQUIRED) && GET_PROPERTY(bool, PROPERTY_CONNECTION_TLS_REQUIRED); - if (!store->isSecuredConnection() && tls) // only if not IMAPS + if (!store->isIMAPS() && tls) // only if not IMAPS { try { |