5
Shouts

User Control Email Templates in asp.net « lukencode

published 1156 days, 10 hours, 8 minutes ago posted by lobsterinolobsterino 1157 days, 8 hours, 49 minutes ago
Thursday, March 25, 2010 12:24:40 PM GMT Wednesday, March 24, 2010 1:43:36 PM GMT

Just about every project i work on needs to send customized emails and everytime I hate doing it. Inspired by some answers in this stackoverflow question I thought I’d give a simple .ascx based email template system a dig. First thing I did was set up a base class for template controls to inherit from. This class inherits from UserControl and has the methods to render the control to a string. It also has methods and properties to set up “tags” to replace in the email body./// public class EmailTemplate...

category: Web Dev | clicked: 2 | | source: lukencode.com | show counter code
tags: Email, ASP .NET

No comments yet, be the first one to post comment.

To post your comment please login or signup