In my opinion "Sent items" is a functionality coupled to a mail client than to a server. So, whatever the solution be, I suspect using JAMES (or any other mail server, in that matter) for it would be inappropriate to store the sent mails.

Santosh.
Raghavendra Setty wrote:
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to