<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: multipart emails with mailer templates</title>
	<atom:link href="http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates</link>
	<description>discussing various aspects of web design and development</description>
	<pubDate>Sun, 05 Sep 2010 07:55:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dan Sharp</title>
		<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/comment-page-1#comment-59</link>
		<dc:creator>Dan Sharp</dc:creator>
		<pubDate>Tue, 07 Jul 2009 17:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kreeti.com/?p=24#comment-59</guid>
		<description>Jared,

Thanks for the heads-up. My templates were messing up in 2.3. Turns out that it's working correctly now. That is to say, in app/views/layouts you can have "foo.text.html.erb" and "foo.text.plain.erb" and then in your mailer code you have: "layout 'foo'" and it will pull the right layout for each part depending upon the part type. This works well now... lets me have a global email template with differences for HTML and plain types. Yay!

(I like it when my monkey patches file gets smaller and smaller as Rails progresses!)</description>
		<content:encoded><![CDATA[<p>Jared,</p>
<p>Thanks for the heads-up. My templates were messing up in 2.3. Turns out that it&#8217;s working correctly now. That is to say, in app/views/layouts you can have &#8220;foo.text.html.erb&#8221; and &#8220;foo.text.plain.erb&#8221; and then in your mailer code you have: &#8220;layout &#8216;foo&#8217;&#8221; and it will pull the right layout for each part depending upon the part type. This works well now&#8230; lets me have a global email template with differences for HTML and plain types. Yay!</p>
<p>(I like it when my monkey patches file gets smaller and smaller as Rails progresses!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Burrett</title>
		<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/comment-page-1#comment-50</link>
		<dc:creator>Ted Burrett</dc:creator>
		<pubDate>Fri, 24 Apr 2009 11:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kreeti.com/?p=24#comment-50</guid>
		<description>My friend on Facebook shared this link with me and I'm not dissapointed   that I came to your blog.</description>
		<content:encoded><![CDATA[<p>My friend on Facebook shared this link with me and I&#8217;m not dissapointed   that I came to your blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared Mehle</title>
		<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/comment-page-1#comment-47</link>
		<dc:creator>Jared Mehle</dc:creator>
		<pubDate>Mon, 06 Apr 2009 20:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kreeti.com/?p=24#comment-47</guid>
		<description>I just wanted to leave a note saying this bug has been fixed in Rails 2.3 even though Lighthouse #1799 remains open.</description>
		<content:encoded><![CDATA[<p>I just wanted to leave a note saying this bug has been fixed in Rails 2.3 even though Lighthouse #1799 remains open.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Sharp</title>
		<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/comment-page-1#comment-46</link>
		<dc:creator>Dan Sharp</dc:creator>
		<pubDate>Thu, 26 Mar 2009 19:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kreeti.com/?p=24#comment-46</guid>
		<description>Wow! I wish I discovered this yesterday. I spent too many hours trying to monkeypatch this myself but not really knowing where or how to do it and thus just flailed.

This patch worked perfectly. :-)

Thank you!

-Danimal</description>
		<content:encoded><![CDATA[<p>Wow! I wish I discovered this yesterday. I spent too many hours trying to monkeypatch this myself but not really knowing where or how to do it and thus just flailed.</p>
<p>This patch worked perfectly. <img src='http://blog.kreeti.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thank you!</p>
<p>-Danimal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: organizing mailers and mailer templates &#124; evolving the web...</title>
		<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/comment-page-1#comment-18</link>
		<dc:creator>organizing mailers and mailer templates &#124; evolving the web...</dc:creator>
		<pubDate>Sat, 24 Jan 2009 08:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kreeti.com/?p=24#comment-18</guid>
		<description>[...] patch written for action mailer to not use layouts for text/plain email was causing problem with exception notification plugin, so I have modified it slightly so that it [...]</description>
		<content:encoded><![CDATA[<p>[...] patch written for action mailer to not use layouts for text/plain email was causing problem with exception notification plugin, so I have modified it slightly so that it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erwin</title>
		<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/comment-page-1#comment-17</link>
		<dc:creator>erwin</dc:creator>
		<pubDate>Thu, 15 Jan 2009 13:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kreeti.com/?p=24#comment-17</guid>
		<description>thanks a lot you saved my day !
was struggling with multiparts for a long day ...

erwin</description>
		<content:encoded><![CDATA[<p>thanks a lot you saved my day !<br />
was struggling with multiparts for a long day &#8230;</p>
<p>erwin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joren Six</title>
		<link>http://blog.kreeti.com/rails/multipart-emails-with-mailer-templates/comment-page-1#comment-16</link>
		<dc:creator>Joren Six</dc:creator>
		<pubDate>Mon, 12 Jan 2009 14:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kreeti.com/?p=24#comment-16</guid>
		<description>Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
