O'Reilly logo

The ASP.NET 2.0 Anthology by Phil Haack, Jon Galloway, Wyatt Barnett, Jeff Atwood, Scott Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11 Working with Email

Although the word email is seen by many to be synonymous with spam, email remains the primary means of direct, person-to-person communication on the Internet. In some situations, technologies such as RSS and instant messaging have proven popular alternatives, but nothing has eclipsed the classic SMTP and POP mail protocols. Despite its problems, email is here to stay. Fortunately, dealing with email from within ASP.NET is relatively painless.

How do I send a plain-text email?

In .NET 1.1, sending email relied upon a creaky old component called CDONTS (short for Collaboration Data Objects for Microsoft Windows NT Server), on which the System.Web.Mail class was dependent. It was awkward to use, had serious ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required