sending java e-mail thru proxy or socks server
843830Apr 4 2002 — edited Apr 10 2005Hi, I'm trying to send an e-mail using JavaMail API.
I could not connect to the SMTP server because it's outside my intranet and I reach access on internet thru a proxy or socks server.
In java.net API I can set this properties to get access thru a proxy or socks
Properties props = new Properties();
//for socks server
props.put("socksProxyHost","your-socks-server");
props.put("socksProxyPort","port-number");
// for proxy server
props.put("http.proxyHost","your-proxy-server");
props.put("http.proxyPort","port-number")
But Java Mail seems not to support this properties, is there any way to socksify Java Mail?
Thanks in advance