<table><tr><td style="">marten created this revision.<br />marten added a reviewer: KDE PIM.<br />Restricted Application added a project: 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/D10940" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is to provide an explicit option whether to use the system proxy setting for SMTP 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;" rel="noreferrer">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 SMTP 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=379539" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=379539</a> and related bugs.</p>
<p>This change adds a SMTP option to use the proxy for connection (the default is off). This is the core part of the change in KSmtp; the configuration option and the visible GUI part in KMailTransport will follow in another diff.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Built KSmtp with this change, verified that by default the SMTP connection is not made via the proxy and that mail sending works as expected. Verified that, if the option is set, the SMTP connection is made via the proxy.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R733 KSmtp</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10940" rel="noreferrer">https://phabricator.kde.org/D10940</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>dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>