• This plugin is ignoring the proxy settings WP_PROXY_HOST, WP_PROXY_PORT, WP_PROXY_BYPASS_HOSTS so it is not possible to use GMail with OAuth behind some firewalls.

    Workaround:
    Manually forcing curl proxy settings in wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php

    curl_setopt($easy->handle, CURLOPT_PROXYPORT, 3128);
    curl_setopt($easy->handle, CURLOPT_PROXYTYPE, 'HTTP');
    curl_setopt($easy->handle, CURLOPT_PROXY, 'example.com');
    • This topic was modified 6 years, 9 months ago by kweg.
  • The topic ‘Plugin is ignoring proxy settings’ is closed to new replies.