Skip to content
Advertisement

How to let javamail support http proxy

I found that javamail only support socks. Is there any solution I can use to support http proxy?

JavaScript

Advertisement

Answer

See the JavaMail FAQ:

… Without such a SOCKS server, if you want to use JavaMail to access mail servers outside the firewall indirectly, you might be able to use a program such as Corkscrew or connect to tunnel TCP connections through an HTTP proxy server. JavaMail does not support direct access through an HTTP proxy web server.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement