Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Accessing Lotus Mail by enabling IMAP

843830Jul 17 2003 — edited Jul 25 2003
Hi

I am trying access mails from Lotus Notes mail file using JavaMail by enabling IMAP on Lotus Notes Server. It is displaying all the folders except SENT / DRAFTS / All Documents.

I have written following code to access folders.

f = store.getPersonalNamespaces();
System.out.println("----f.length-------"+f.length);
for(int k=0; k<f.length; k++){
f1 = f[k];
folders = f1.list();
System.out.println("this is the folders.length:"+folders.length);
for(int j=0;j<folders.length;j++){
String folderName = folders[j].getFullName();
System.out.println("this is the folder name :["+j+"]"+folderName);
if(!folderName.equals("INBOX")) {
folders[j].open(Folder.READ_WRITE);
}
}
}

It is displaying Inbox and all personal folders.

Can anyone help me in this regard.

Thanks in advance

Nagavalli
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2003
Added on Jul 17 2003
3 comments
210 views