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 => ""
    def bidnotify(user)
    @user = user
    mail(:to =>, :subject => "Bid Notification")


<%= @user.firstname %>,

Thank you

can somebody please help me. or atleast explain why its blank?

Last edited by SoetSout (2011-10-13 07:58:31)