There's a Ruby gem to handle this, released by Github:

https://github.com/github/email_reply_parser

The Ultimation wrote in post #832834:
Marnen Laibow-Koser wrote:
You just answered your own question. There's no single standard for
quoting text, so how could there be anything in the IMAP protocol to
identify it?
Oh, wait, you mean something in the Net::IMAP library rather than the
protocol command set? In that case I'm not sure, but since it's easy
enough to write a couple of regexps to handle the common cases, I'm not
sure why you'd need it.

I wasn't sure if there was some way of IMAP identifying quotes within an
email's body, but I know technology can do some crazy things so why not
:) Just curious if anyone had done something similar and what worked for
them. Thanks for the reply though. I'll resort to regexps if necessary.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 9, '12 at 6:27p
activeOct 9, '12 at 6:27p
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Gabe S.: 1 post

People

Translate

site design / logo © 2022 Grokbase