dcsimg
How do i connect to the mail server thru a proxy server using pop3.?.
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   snehal_gandhi
Posted On:   Friday, August 2, 2002 12:05 AM



My system is in a network and connected to the proxy server
which is connected to the mail server.
so how can i bypass the proxy server or what is the other option that i can move forward.
I'm using pop3 protocol.


i tired out this


			
Properties props = System.getProperties();
props.put("http.proxyHost", "proxyserver");
props.put("http.proxyPort", "8080");




pls send the answer. it's very urgent.
thank you


regards


Snehal

Re: How do i connect to the mail server thru a proxy server using pop3.?.

Posted By:   Loren_Mathews  
Posted On:   Friday, August 2, 2002 10:33 PM

Can u be little more specific? Is ur proxy http(as seen in ur submission? or Socks proxy?)

U cannot probably connect to a mail server thru http proxy,
u need to have socks proxy server. and if its socks
version <= 4 then there is trouble u cannot give the
qualified name of the server, but u need to give its ip
in a string. If its Socks 4a or 5 then u can give the
name but java doesn't support this now, and in that
case u need to overload the fuction of the socket factory and then use it

Re: How do i connect to the mail server thru a proxy server using pop3.?.

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, August 2, 2002 07:40 AM

?Are you saying that your proxy server can handle pop3, in addition to http/https/ftp?



Usually pop3 is not one of the protocols supported by typical proxy servers, unless I'm mistaken.



That's one reason that http-based mail servers e.g. hotmail have proliferated, because people behind firewalls going through proxy servers can't get pop3, but they can get http. (of course now there are more specific content filters, that even block specific http sites on the proxy server, so some places will specifically disallow all those http-based mail servers)

About | Sitemap | Contact