Closed anazar closed 11 years ago
Hey @anazar
We're actually checking for "Original Message", but we are not checking for "Original message". The lowercase "m" is throwing off the parser in the case of your sample email body. See here: https://github.com/thoughtbot/griddler/blob/master/lib/griddler/email_parser.rb#L77
This shouldn't be too bad to replicate with a failing test if you're up for the challenge :)
Starting here: https://github.com/thoughtbot/griddler/blob/master/spec/griddler/email_spec.rb#L110
I also was having this issue. Didn't realise what the actual issue was until I read this and now it makes perfect sense why it wasn't working.
Hope this pull request is satisfactory, it includes tests.
@craigsheen pull request is lookin' good. Thanks for your help on this one!
Nice work on this @craigsheen :) :clap: :clap: :clap:
Just recently starting using griddler and I'm noticing that in a lot of cases it isn't excluding things from the original message.
Example:
Shouldn't it be checking for things like Original Message... or From: [email] ?