Skip to main content

rajivderas

Networking

No social network accounts found.

rajivderas's Projects

rajivderas's Recent Posts

Topic Project / Forum Last Post in Topic
Marking messages as read
i found out and understood it for unread mail i have to use message.setFlag(Flags.Flag.SEEN, false);
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage March 20, 2011 05:59
by: ashishdhawan
Marking messages as read
what i am asking is something like the following // if the passed message is set with seen (it is read message) if (message.isSet(Flags.Flag.SEEN)) { // now make that message as unread message.s . . .
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage March 20, 2011 05:59
by: ashishdhawan
Marking messages as read
I totally agree with your point but my argument was only about the read/unread flag. Sorry to bug you this much since your the only person in the net to answer javamail related questions so i have no o . . .
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage March 20, 2011 05:59
by: ashishdhawan
Marking messages as read
thanks shannon the last line of your answer is what i was looking for.By the way just a thought why doesn't the javamail API provide a separate flag for unread messages such as lets say "UNSEEN". Is th . . .
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage March 20, 2011 05:59
by: ashishdhawan
Marking messages as read
thanks for the reply. But what i wanted to know was that how do u know if a message is read or not in imap? As you pointed out setting the SEEN flag to mark it as read answeres one question but how do . . .
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage March 20, 2011 05:59
by: ashishdhawan
Marking messages as read
thanks for the reply shannon. but lets assume the following scenario and explain me how the SEEN flag indicates whether or not the message has been read? Folder folder = store.getFolder(); folder.open . . .
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage March 20, 2011 05:59
by: ashishdhawan
Marking messages as read
The Flags.Flag.SEEN is used to get unread messages but what is the Flags.Flag that should be set to a message making it as read, is it Flags.Flag.ANSWERED or Flags.Flag.FLAG ?
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage March 20, 2011 05:59
by: ashishdhawan
Reading imap mail messages as conversations
well tried to read from message header (message-id,references) to build up the conversation chain.But gmail doesn't use those properties to keep the conversation in tact as most people don't reply dire . . .
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage October 26, 2010 10:29
by: rajivderas
Reading imap mail messages as conversations
i had a look at the rfc 5256 document but was unable to understand the scenario.Is their any demo code(message conversations) implemented for this scenario so that i could get a reference from it?
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage October 26, 2010 10:29
by: rajivderas
Reading imap mail messages as conversations
how do we read the messages with their parent messages for the same subject. for example : MAIL A sends mail to MAIL B MAIL B reply to MAIL A MAIL B again reply to MAIL A now we have 2 messages in M . . .
JavaMail API Reference Implementation
  » General Discussion
Defaultpersonimage October 26, 2010 10:29
by: rajivderas
 
 
Close
loading
Please Confirm
Close