[Rails] ActionMailer - ROR Recipes - Multipart/alternative
softwareengineer 99
softwareengineer99 at yahoo.com
Tue Feb 7 16:19:32 GMT 2006
Hello Chad,
Thank you for your reply. I will certainly follow your tip and post the results here. It sounds like it should work, but I will let you know.
Thanks
Frank
Chad Fowler <chadfowler at gmail.com> wrote:
Hi Frank.
Would this work if your templates weren't called "_en"? I believe ActionMailer requires the template to be named _exactly_ the same as the mailer's method (forgot_password) with the remaining dot-separated parts of the name representing the mime type and template type (eg .rhtml).
So if you rename your templates to, for example, forgot_password.text.plain.rhtml does your mailer start working again?
--
Chad Fowler
http://chadfowler.com
http://pragmaticprogrammer.com/titles/fr_rr/ (Rails Recipes - In Beta!)
http://pragmaticprogrammer.com/titles/mjwti/ (My Job Went to India, and All I Got Was This Lousy Book)
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over one million gems served!)
_______________________________________________
Rails mailing list
Rails at lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060207/1e1eacc0/attachment.html
More information about the Rails
mailing list