Introduction:
In this article I will explain how to send email with attachment using asp.net.
Description:
In previous post I explained how to send mail in asp.net now I will explain how to implement mail sending concept with attachment in asp.net.
To implement this concept first we need to following reference to our application System.Web.Mail namespace
What is System.Web.Mail
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.
In this article I will explain how to send email with attachment using asp.net.
Description:
In previous post I explained how to send mail in asp.net now I will explain how to implement mail sending concept with attachment in asp.net.
To implement this concept first we need to following reference to our application System.Web.Mail namespace
What is System.Web.Mail
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.