hi all ,
I m using javamail api to access mails from gmail . I m using IMAP Protocol .This is the piece of code how i will open my inbox from my program
My doubt is once if we execute folder.open will all my mails in particular folder will be available in my folder Object . That is if i call folder.getMessages() will it once again hit the gmail imap server and fetch me the mails ?? or is the mail is already fetched and stored in folder object ... so folder.getMessages() is nothing but accessing some information stored in a
java object ???
I think i made my doubt clearer
Thanks in Advance
------------------
Ashok