Displaying 1 result from an estimated 1 matches for "aliasmail".
Did you mean:
aliasall
2006 Jan 28
0
How to get email body in plain/text
Hi, all.
I have a very simple Mailer class
class AliasMailer < ActionMailer::Base
def receive(email)
puts email.body
end
end
And I have problem here with TMail::Mail object that I received via
receive() function.
I am trying to get body of the mail but I have following text
Hello\r\n\r\n--\r\n\r\n\r\nHello<br clear=\"all\"><...