On Fri, May 27, 2011 at 4:40 PM, Stephen Huey wrote:
> Action Mailer is detecting my HTML view but not evaluating any
> instance variables I'm referencing in it. Here is my mailer:
>
> class Emailer < ActionMailer::Base
>
> def send_default(recipient, subject, message, sent_at)
>@body = mes
Action Mailer is detecting my HTML view but not evaluating any
instance variables I'm referencing in it. Here is my mailer:
class Emailer < ActionMailer::Base
def send_default(recipient, subject, message, sent_at)
@body = message
mail(:to => recipient, :subject => subject)
end
end
2 matches
Mail list logo