Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

gmailer api

subhash
2006-07-07
2013-04-03
  • subhash
    subhash
    2006-07-07

    i m using gmailer api but unable to connect gmail.
    pls help me.
    i also unable to access the documentation of gmailer api.
    pls help me.

    thanx.

     
    • subhash
      subhash
      2006-07-07

      i m using gmailer ape.i m unable to connect gmail .
      pls find the error in my code and my code is:

      import siuying.gm.GMConnector;
      public class test {

          /**
           * @param args
           */
          public static void main(String[] args) {
             
              try{
      GMConnector connector = new GMConnector("userid","passwd",1);
         connector.setProxy("192.168.0.10",8080);
      System.out.println("object is created");
          connector.connect();
          boolean i;
             
      i=connector.isConnected();
      if(i)
      System.out.println("connection is created");   
      else
      System.out.println("connection failed");        // TODO Auto-generated method stub;

          }catch(Exception erro) { 
              erro.printStackTrace(); 
          }

          }
      }

       
    • KKR
      KKR
      2007-11-20

      Hi,

      I tried out ths example but it's not working for me.It always returns me false while connecting.I mean the result of connector.connect) gives false to me.