Mailer related query

you have to replace the variables with your own

  def notifycustomer(blahh, blah)     @subject = "Message from a visitor"     @recipients = blahh.email     @from = blah[:email]     @sent_on = Time.now     @body["title"] = blah[:title] #now you can use @title in your view     @body["msg"] = blah[:msg] # now you can use @msg in your view     @body["url"] = "some url" # now you can use @url in your view   end

if you have followed my sample code then your view should have

Hi! You are having one email message from <%= @email %> with a title <%= @title %> and following is the message: <%= @msg %> url: <%= @url %>

Thanks