<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Generating HTML emails using ASP.NET</title>
	<atom:link href="http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 02:46:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Hotelier</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-14777</link>
		<dc:creator><![CDATA[Hotelier]]></dc:creator>
		<pubDate>Sat, 31 Jul 2010 19:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-14777</guid>
		<description><![CDATA[Generating HTML emails using ASP.NET « Tatham Oddie inspires me, i just want to say thanks for the inspiration, Hotelier]]></description>
		<content:encoded><![CDATA[<p>Generating HTML emails using ASP.NET « Tatham Oddie inspires me, i just want to say thanks for the inspiration, Hotelier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hier</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-14610</link>
		<dc:creator><![CDATA[Hier]]></dc:creator>
		<pubDate>Wed, 21 Apr 2010 18:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-14610</guid>
		<description><![CDATA[Thanks for taking this opportunity to talk about &quot;Generating HTML emails using ASP.NET « Tatham Oddie&quot;,  I benefit from learning about this topic. If possible, as you gain data, please update this blog with new information. Thanks, Hier]]></description>
		<content:encoded><![CDATA[<p>Thanks for taking this opportunity to talk about &#8220;Generating HTML emails using ASP.NET « Tatham Oddie&#8221;,  I benefit from learning about this topic. If possible, as you gain data, please update this blog with new information. Thanks, Hier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-13737</link>
		<dc:creator><![CDATA[ben]]></dc:creator>
		<pubDate>Thu, 05 Feb 2009 11:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-13737</guid>
		<description><![CDATA[Hi, I want to say I have been using this pattern for years and it is very successful. I use ASPX, not ascx, and then I use httpwebquest to crawl the contents of that ASPX page..

Advantages
1. We can use repeater or datagrid in that ASPX or ASCX
2. HTML CSS is very strict, we can change design
3. We can have a master page for email header and footer, because header and footer are replicated contents in most emails
4 We can truly seperate the presentation layer]]></description>
		<content:encoded><![CDATA[<p>Hi, I want to say I have been using this pattern for years and it is very successful. I use ASPX, not ascx, and then I use httpwebquest to crawl the contents of that ASPX page..</p>
<p>Advantages<br />
1. We can use repeater or datagrid in that ASPX or ASCX<br />
2. HTML CSS is very strict, we can change design<br />
3. We can have a master page for email header and footer, because header and footer are replicated contents in most emails<br />
4 We can truly seperate the presentation layer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-13162</link>
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 17 Oct 2008 03:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-13162</guid>
		<description><![CDATA[Ah, just re-read Steve&#039;s comment, so the RenderControl method goes in a public class, completely separate from the .ascx file, still working on the rest though.]]></description>
		<content:encoded><![CDATA[<p>Ah, just re-read Steve&#8217;s comment, so the RenderControl method goes in a public class, completely separate from the .ascx file, still working on the rest though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-13161</link>
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 17 Oct 2008 03:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-13161</guid>
		<description><![CDATA[Thx I really appreciate your example, I&#039;m having some difficulties though.

Maybe I&#039;m not as clever as the average bear, but:

1) Where should the .ascx file be located?
2) The &quot;RenderControl(Control control)&quot; method, where is this suppose to go?  Obviously not in the .ascx.cs file..
3) Instantiating or initializing the control, you have &quot;EmailTemplates.MembershipApplication&quot;.  Is this your own class or is this a built in .net class?]]></description>
		<content:encoded><![CDATA[<p>Thx I really appreciate your example, I&#8217;m having some difficulties though.</p>
<p>Maybe I&#8217;m not as clever as the average bear, but:</p>
<p>1) Where should the .ascx file be located?<br />
2) The &#8220;RenderControl(Control control)&#8221; method, where is this suppose to go?  Obviously not in the .ascx.cs file..<br />
3) Instantiating or initializing the control, you have &#8220;EmailTemplates.MembershipApplication&#8221;.  Is this your own class or is this a built in .net class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-13126</link>
		<dc:creator><![CDATA[Steve]]></dc:creator>
		<pubDate>Sat, 20 Sep 2008 13:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-13126</guid>
		<description><![CDATA[Finally managed to get everything working. Thanks for the pointers in the first place. I&#039;m now generating very nice emails.]]></description>
		<content:encoded><![CDATA[<p>Finally managed to get everything working. Thanks for the pointers in the first place. I&#8217;m now generating very nice emails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-13123</link>
		<dc:creator><![CDATA[Steve]]></dc:creator>
		<pubDate>Fri, 19 Sep 2008 16:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-13123</guid>
		<description><![CDATA[OK putting the rendercontrol in a public class file has solved point1. So now I&#039;m stuck on instantiating the control and setting all the literals in the template.]]></description>
		<content:encoded><![CDATA[<p>OK putting the rendercontrol in a public class file has solved point1. So now I&#8217;m stuck on instantiating the control and setting all the literals in the template.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.tatham.oddie.com.au/2007/04/02/generating-html-emails-using-aspnet/#comment-13122</link>
		<dc:creator><![CDATA[Steve]]></dc:creator>
		<pubDate>Fri, 19 Sep 2008 16:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://tatham.wordpress.com/2007/04/02/generating-html-emails-using-aspnet/#comment-13122</guid>
		<description><![CDATA[Hi Tatham,

I&#039;ve been looking for a better way to render HTML emails than manual stringbuilder work. As you say, its ugly and unmanageable if the HTMl is significant.

I&#039;ve tried implementing this code but I&#039;m having trouble. First I can&#039;t seem to place the rendercontrol function within a code behind file. It complains it shadows an overridable methiod in the base class &#039;Control&#039;. Second I&#039;m using VB! Yeah I know, I used to be a C+ developer but had to switch with my work, so been using it no for long time and its fairly productive.

Anyway, that aside, I&#039;d really appreciate it if you could provide a complete example of the coding and maybe a sample usercontrol its applied to. I&#039;ll then be able to convert to my native coding language.

Any help much appreciated.
Steve]]></description>
		<content:encoded><![CDATA[<p>Hi Tatham,</p>
<p>I&#8217;ve been looking for a better way to render HTML emails than manual stringbuilder work. As you say, its ugly and unmanageable if the HTMl is significant.</p>
<p>I&#8217;ve tried implementing this code but I&#8217;m having trouble. First I can&#8217;t seem to place the rendercontrol function within a code behind file. It complains it shadows an overridable methiod in the base class &#8216;Control&#8217;. Second I&#8217;m using VB! Yeah I know, I used to be a C+ developer but had to switch with my work, so been using it no for long time and its fairly productive.</p>
<p>Anyway, that aside, I&#8217;d really appreciate it if you could provide a complete example of the coding and maybe a sample usercontrol its applied to. I&#8217;ll then be able to convert to my native coding language.</p>
<p>Any help much appreciated.<br />
Steve</p>
]]></content:encoded>
	</item>
</channel>
</rss>

