Hi, I recently made a program that retrieves emails from an inbox and enters the body of those emails into a database using IMAP. I was just wondering, is there any function in IMAP or other solution where I can just get the body of the new email and exclude the quoted parts of the previous emails? for example, currently I'm getting things like this in my database:
Let's try this one out On Jun 30, 2009, at 11:19 AM, Mark wrote: > Thanks for all your help bud. ^^ here i only want the "Let's try this one out" and not the text that comes after it. Different email providers handle quoting in different ways, so I don't think it's as easy as looking for a certain string and deleting the text after it. I wouldn't want to do that anyway. Is there an object in IMAP that handles this? Just curious if anyone has similar experience. Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

