<table><tr><td style="">marten created this revision.<br />marten added a reviewer: KDE PIM.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />marten requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21463">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is to provide an explicit option to not use the system proxy setting for IMAP connections, as described in <a href="https://phabricator.kde.org/T7430" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">T7430</a>.</p>
<p>If the system proxy settings are set to use the environment variables http_proxy etc (for compatibility with non-KDE applications), then they are also used for IMAP connections. This is rarely required and will fail unless the proxy is transparent enough. See <a href="https://bugs.kde.org/show_bug.cgi?id=407685" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=407685</a> and related bugs.</p>
<p>This change adds a IMAP account option to use the proxy for connection (the default is off). This is the core part of the change; the visible GUI part will follow in another diff.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Built kimap with this change, verified that by default the IMAP connection is not made via the proxy and that mail fetching works as expected. Verified that, if the option is set, the IMAP connection is made via the proxy.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R177 PIM: KIMAP</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21463">https://phabricator.kde.org/D21463</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/session.cpp<br />
src/session.h<br />
src/sessionthread.cpp<br />
src/sessionthread_p.h</div></div></div><br /><div><strong>To: </strong>marten, KDE PIM<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>