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

Close

Cannot get a messages

2006-08-05
2013-04-03
  • Stoyan Petrov
    Stoyan Petrov
    2006-08-05

    Hello,

    I try to use a g4j-lib from my java application.
    When i send a mails, everything looks ok,
    but when i try to get a mails from my gmail, i have a strange problem!

    this row throws a strange exception for me:
    GMResponse response = connector.request(GMConstants.GM_REQ_STANDARD,"Inbox","0");

    Message: 'ds' did not have expected number of elements (7)
    at siuying.gm.GMConnector.parseDataPacket(GMConnector.java:762)

    but what means this? or what i must change in my code to get all messages from my inbox?

    Thanks in advance!
    Stoyan