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

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

    Accepted Solution

    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

    LVL 40

    Assisted Solution

    check this one

    Gmail API for Java

    And also this Apache project


    Author Comment

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

    Assisted Solution

    LVL 86

    Expert Comment

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Suggested Solutions

    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    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…
    This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now