Hi all, I have a problem with my action mailer .!
When i send mail in the email it shows the html tags same written as in mailer view html here is my code: In the Model :---------------- class CronjobMailer < ActionMailer::Base def cronjob(sender,recipients, subject, message, late_commers) @bcc = recipients @recipients = 'supp...@eabyas.in' @from = sender @subject = subject @late_commers = late_commers @sent_on = Time.now @body[:message] = message end end :---------------- In the Cronjob_mailer view in cronjob.html.erb <!DOCTYPE html> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> </head> <body> <h1>Welcome to example.com</h1> <p> You have successfully signed up to example.com, your username is: .<br/> </p> <p> To login to the site, just follow this link: . </p> <p>Thanks for joining and have a great day!</p> </body> </html> and here is how i am initiating the mailer CronjobMailer::deliver_cronjob(sender,recipient_list,@subject,@messege, @late_commers) when i deliver mail in the email it gives me the same code instead of html output . Please help me Thanks in advance -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.