I get a redirected email address in my rails 3 application and it works fine.
But in the forwarded letter, it includes the following message at the top, for example:
Begin forwarded message:
From: roger rabbit <sales@mysite.com>
Date: 23 May 2011 13:52:08 GMT+01:00
To: sam@yoursite.com
Subject: Hi threre
Dear Mike
Yes please do the work for me!
This format changes with respect to which email client sent the message.
I want to cut this out of the body, so I can only show the redirected message like this:
Dear Mike
Yes please do the work for me!
What is the best way to do this, as I know I can do this for this particular format, but I need it to be more general / smart.
Is there any gem / lib I should use?
Any help would be great.
thanks Rick
source
share