I am trying to sent mails through ActionMailer. As I have done in the
past. However I now get this really strange message;
ActionView::ActionViewError (Due to changes in ActionMailer, you need
to provide the mailer_name along with the template name.
render :file => "user_mailer/signup"
If you are rendering a subtemplate, you must now use controller-like
render :partial => 'signup' # no mailer_name necessary
So I did what anyone would do;
mailer_name("contact") #the name of my ActionMailer class.
That did not work. Neither did;
render :file => "contact/contact"
I am a bit at a loss now. I am using the globalize plugin which
requires me to name my templates like this:
"contact.en.text.plain.erb", perhaps that is causing the problem.
Any help is greatly appreciated.
With kind regards,