Tom Ha
2010-Dec-06 16:36 UTC
How to use a partial in multipart/alternative emails (HTML and plain text)
Hi there, I use a partial in various multipart emails (HTML and plain text) in Rails and have the following problem with it: - All email "views" exist normally: both in .text.plain.erb and .text.html.erb versions - The partial (which is located in the "shared" views folder), also exists in both versions using the required endings (as mentioned above). The problem: In the "plain text" version of the received emails, it is the HTML partial that is rendered, not the "plain text" one. (Everything else is rendered correctly in both versions.) What am I probably doing wrong? Thanks a bunch for any help with this! Tom -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tom Ha
2010-Dec-08 13:57 UTC
Re: How to use a partial in multipart/alternative emails (HTML and plain text)
No ideas at all? (Am I the only one with this problem?) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.