Title: Does your plugin support http proxy?
Last modified: February 26, 2024

---

# Does your plugin support http proxy?

 *  Resolved [sinapars](https://wordpress.org/support/users/sinapars/)
 * (@sinapars)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/does-your-plugin-support-http-proxy-2/)
 * Hi Team,
 * Due to security issues, the internet network on our servers has been closed, 
   And we have to use a proxy to access the Internet, unfortunately, after setting
   up the proxy in the function file, your plugin still does not have access to 
   the Internet.
 * `define('WP_PROXY_HOST', '192.168.84.101');
   define('WP_PROXY_PORT', '8080');define('
   WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com, *.wordpress.org');
 * [https://developer.wordpress.org/reference/classes/wp_http_proxy/](https://developer.wordpress.org/reference/classes/wp_http_proxy/)
   
   Is there a way to support proxy in your plugin?
 * BR

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/does-your-plugin-support-http-proxy-2/#post-17457968)
 * Hi there [@sinapars](https://wordpress.org/support/users/sinapars/),
 * Thanks for reaching out. Can you let us know which mailer you’re using? That 
   should help.
 * Thanks!
 *  Thread Starter [sinapars](https://wordpress.org/support/users/sinapars/)
 * (@sinapars)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/does-your-plugin-support-http-proxy-2/#post-17459271)
 * Hi [@dpinson](https://wordpress.org/support/users/dpinson/),
 * thanks for response 
   I’m using Other SMTPEverything was working fine before the
   internet server went down, but after we enabled the proxy for internet access
   and put it in the wp-config file, all emails stopped sending, probably because
   the plugin You do not use the proxy defined in wp-config to connect to the Internet.
 * BR
 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/does-your-plugin-support-http-proxy-2/#post-17461162)
 * Hi there [@sinapars](https://wordpress.org/support/users/sinapars/),
 * Thanks for the response. We’re looking further into this. I’ll let you know what
   we find out. In the meantime, you can try switching to a different mailer such
   as Brevo to see if that gets around the issue.
 * I’ll be back in touch soon when we have more details from what we find.
 * Have a great day!
 *  Thread Starter [sinapars](https://wordpress.org/support/users/sinapars/)
 * (@sinapars)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/does-your-plugin-support-http-proxy-2/#post-17468158)
 * Hi [@dpinson](https://wordpress.org/support/users/dpinson/),
 * Thanks for following up on this
   This problem has nothing to do with the email
   service providerInternet is needed to connect to any mail server. Now imagine
   that our server does not have direct Internet and uses an HTTP proxy to connect
   to the Internet, and your plugin does not recognize that it must use the settings
   we put in the wp-config file for the Internet.[https://developer.wordpress.org/reference/classes/wp_http_proxy/](https://developer.wordpress.org/reference/classes/wp_http_proxy/)
 * BR
 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/does-your-plugin-support-http-proxy-2/#post-17478623)
 * Hi there [@sinapars](https://wordpress.org/support/users/sinapars/),
 * Our plugin uses core WordPress functionality, and since WordPress handles the
   proxy functions, we should be able to connect to outside providers. However, 
   SMTP uses a different approach and which it looks like WP Core does not handle.
   As one of our developers found, SMTP doesn’t work well with proxies and PHP only
   supports HTTP proxies. This is why we’re suggesting that you try connecting with
   a transactional mailer. You could use a free SendLayer plan or one of the other
   mailer services we connect with.
 * I hope that helps! Have a great day!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Does your plugin support http proxy?’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

 * [proxy](https://wordpress.org/support/topic-tag/proxy/)

 * 7 replies
 * 2 participants
 * Last reply from: [David](https://wordpress.org/support/users/dpinson/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/does-your-plugin-support-http-proxy-2/#post-17478623)
 * Status: resolved