Hi, I have a pretty standard and simple mailer model with its own html
text view. When I send it, the content of the email is actually sorta
headers and the actual message isn’t there.
The mailer looks like this:
class TestMailer < ApplicationMailer
default from: “[email protected]”
to = “[email protected]”
subject = “Message”
@message = “This is the message”
mail to: to, reply_to: “[email protected]”, subject: subject,
‘test_mailer’, template_name: ‘test_message’
The views just print the @message variable. but what I receive looks
=> “\n \n Date: Mon, 07 Sep 2015 18:34:23 -0400\nFrom:
[email protected]\nReply-To: [email protected]\nTo:
text/plain\nContent-Transfer-Encoding: 7bit\n\n\n\n \n\n”
Anyone has any idea what the heck is going on?