MailMessage Class
.NET Framework 3.0
NOTE: This class is now obsolete.
Provides properties and methods for constructing an e-mail message. Recommended alternative: System.Net.Mail. Namespace: System.Web.MailAssembly: System.Web (in system.web.dll)
[ObsoleteAttribute(L"The recommended alternative is System.Net.Mail.MailMessage. http://go.microsoft.com/fwlink/?linkid=14202")] public ref class MailMessage
/** @attribute ObsoleteAttribute("The recommended alternative is System.Net.Mail.MailMessage. http://go.microsoft.com/fwlink/?linkid=14202") */
public class MailMessage
ObsoleteAttribute("The recommended alternative is System.Net.Mail.MailMessage. http://go.microsoft.com/fwlink/?linkid=14202") public class MailMessage
Not applicable.
The following example shows how to use the MailMessage class.
Security Note: |
|---|
| This control has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview (Visual Studio). |
Community Additions
ADD
Show:
Security Note: