Hi all,

I am using javamail API to retrieve the inbox mails of a particular user
from JAMES as below:

Session session = Session.getInstance(props);
store = session.getStore("pop3");
store.connect("localhost", "blue", "blue");
root = store.getDefaultFolder();
inbox = root.getFolder("inbox");
inbox.open(Folder.READ_WRITE);
Message[] msgs = inbox.getMessages();   then 

for (int i = 0; i < msgs.length; i++)
    {
        MimeMessage msg = (MimeMessage)msgs[i];
        msg.getFrom()[0], msg.getSubject(), msg.getContent() ......
    }

Can you guys suggest is there any functionality which supports the "Sent
Item"? If not please guide me how can i achieve this.

Thanks in advance,
Rag Setty

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient or received it in error, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
Please do not copy it for any purpose or disclose its contents.

Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved

Reply via email to