i need the code for get the Inbox from gmail using java

Posted on 2010-01-03
Medium Priority
Last Modified: 2012-05-08
how to get the Inbox folder from gmail using java?
Question by:sunda2010
LVL 11

Accepted Solution

ICaldwell earned 252 total points
ID: 26168794
Not exactly sure what type of programming your trying to do but you can use the api

Access GMail with imap using java mail api

LVL 11

Assisted Solution

ICaldwell earned 252 total points
ID: 26168801
LVL 40

Assisted Solution

by:Gurvinder Pal Singh
Gurvinder Pal Singh earned 248 total points
ID: 26168836
check this one

Gmail API for Java

And also this Apache project

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 26169131
I was run the program and get the correct answer.
thanks a lot.
It will be more helpful for me.
LVL 40

Assisted Solution

by:Gurvinder Pal Singh
Gurvinder Pal Singh earned 248 total points
ID: 26169163
LVL 86

Expert Comment

ID: 26169790
sunda2010, you need to handle the security properly, as you do when sending. Did the code i give you work for you OK?

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question