If this were an ordinary post I’d show you a bunch of code illustrating how to send multipart MIME emails using .NET. But yesterday I ran across DotNetOpenMail, an open-source mail component for .NET. And I don’t believe in reinventing the wheel too much.
As a reminder, multipart MIME emails allow you to embed multiple content with different MIME types (e.g. HTML and TEXT) into a single email. That way, recipients with HTML-capable email clients will see the HTML version of your email, while older email programs will display the text version.
In .NET 1.1 (which is what I was developing in yesterday), multipart MIME emails aren’t really supported, although if System.Net.Mail uses CDO.Message behind the scenes, you’ll automatically get a multipart MIME email generated.
So anyhow, I happily found this open-source component & it appears to work fine for my purposes. And so I thought I’d pass along the tip.