Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Web.Mail

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
System.Web.Mail Namespace

The System.Web.Mail namespace contains classes that enable you to construct and send messages using the CDOSYS (Collaboration Data Objects for Windows 2000) message component. The mail message is delivered either through the SMTP mail service built into Microsoft Windows 2000 or through an arbitrary SMTP server. The classes in this namespace can be used from ASP.NET or from any managed application.

Namespace hierarchy

Classes

Class Description
MailAttachment Provides properties and methods for constructing an e-mail attachment.
MailMessage Provides properties and methods for constructing an e-mail message.
SmtpMail Provides properties and methods for sending messages using the Collaboration Data Objects for Windows 2000 (CDOSYS) message component.

Enumerations

Enumeration Description
MailEncoding Provides enumered values for e-mail encoding.
MailFormat Provides enumerated values for e-mail format.
MailPriority Specifies the priority level for the e-mail message.

See Also

.NET Framework Class Library

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker