What is System.Web.Mail ?

System.Web.Mail (SWM) is the .Net namespace which is used to send email in .Net Framework applications. SWM contains three classes:

1. MailMessage – used for creating and manipulating the mail message contents.
2. MailAttachments – used for creating a mail attachment to be added to the mail message.
3. SmtpMail – used for sending email to the relay mail server.

Leave a Reply

Your email address will not be published. Required fields are marked *