• Hey,

    after a couple of hours searching for a problem with curl connection problems, I just want to give you the recommendation to use the WordPress constant WP_PROXY_HOST and WP_PROXY_PORT in class/xq_maileon.php:

    /**
     * Gets the Maileon configuration
     *
     * @return array MaileonConfiguration
     */
    private static function get_maileon_config() {
        $config = array(
            'API_KEY' => get_option("API_KEY"),
            'BASE_URI' => get_option("BASE_URI")
        );
        if (defined('WP_PROXY_HOST')){
            $config += array('PROXY_HOST' => WP_PROXY_HOST);
        }
        if (defined('WP_PROXY_PORT')){
            $config += array('PROXY_PORT' => WP_PROXY_PORT);
        }
        return $config;
    }

    Regards

    Pascal

Viewing 1 replies (of 1 total)
  • Plugin Author mbeckerle

    (@mstaender)

    Hi Pascal,

    thank’s for the hint.
    I just included it in the new version and validated the functionality against the upcoming 4.8.

    It is included in the 2.2.4

    Kind regards,
    Marcus

Viewing 1 replies (of 1 total)
  • The topic ‘Adding Proxy’ is closed to new replies.