Reading imap mail messages as conversations

  5 posts   Feedicon  
Replies: 4 - Last Post: October 26, 2010 10:29
by: Rajiv
showing 1 - 5 of 5
 
Posted: October 25, 2010 13:55 by Rajiv
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 MAIL A inbox and in gmail they show it as one mail with a prefix of how many number of mails from this user.example:
FROM B(2)

how do we read both messages according to child to parent message.
how do we get any relation to these two mails in inbox?
 
Posted: October 25, 2010 22:12 by shannon
The algorithm in RFC 5256 should get you started.
 
Posted: October 26, 2010 01:57 by Rajiv
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?
 
Posted: October 26, 2010 04:54 by shannon
If you couldn't understand that document, the code probably isn't going to help you.
I believe you can find C code implementing this in the UW IMAP server.
I don't know of any Java code implementing this, but you might want to look at
Apache James.
 
Posted: October 26, 2010 10:29 by Rajiv
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 directly to the received mail.so am wondering what does they do(properties they look for) to keep the conversation intact.
Replies: 4 - Last Post: October 26, 2010 10:29
by: Rajiv
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close