Topic: Action Mailer Blank E-mail
I am trying to get the Action Mailer to send a mail. i get a e-mail but its empty. the only data is data that was given in the file under Mailers, here is the code:
class NotificationMailer < ActionMailer::Base
default :from => "email@example.com"
@user = user
mail(:to => user.email, :subject => "Bid Notification")
<%= @user.firstname %>,
can somebody please help me. or atleast explain why its blank?
Last edited by SoetSout (2011-10-13 07:58:31)