Send Email with auto merge in html

Posted on: Fri Aug 06 23:13:52 -0700 2010. Updated on: Fri Aug 06 23:13:52 -0700 2010.
Category: .NET C#

The .net built in MailMessage supports merging replacements built in. It also supports building a message both in HTML and plain text in case the viewer does not support html. All this out of the box. Here is a great article that gives a good example that works: http://www.search-this.com/2009/02/05/aspnet-sending-email-both-in-html-and-plain-text/

Comments:

Add a Comment:

simple_captcha.jpg
(human authentication)


Ads

Categories

About

Random foliage

This website is meant to be a reference for ASP Dot Net developers. The entries are a compilation of things I've figured out how to do and that I deem useful to keep of track for future reference. Assumptions: web development with: C Sharp (vb sucks), visual studio 05/08, .net 3.5, meant for programmers. Written by: James Reategui.