3 Replies Latest reply: May 18, 2011 2:17 PM by DrClap RSS

    gmail4j using proxy server

    711405
      I am seeing a quite strange issue here using gmail4j 0.4.

      I managed to get java code for ImapGmailClient to work without any proxy server. But when I use the same code behind a proxy server after adding

      *((ProxyAware) connection).setProxy(proxy_host, proxy_port);*

      I just cannot get connection to imap server.

      On the other hand, using RssGmailClient, I can get it to work after adding

      connection.setProxy(proxy_host, proxy_port);

      Here, the proxy_host and proxy_port in both places are the same. Could anybody suggest how to solve this issue? Thanks a lot.