Reputation: 133
I tried to create a simple web application to trigger mail from my company domail address to the outside mailbox. While doing so, i came to know about system.web.dll namespace. I couldn't find the system.web.dll in the add reference. Where can i find? or Is there any other namespace that can be used for mail triggering? This is the reference page i checked.
If there is any other pages which can teach me basic asp.net mail triggering concepts means, please post the link here. It will be very useful.
Upvotes: 3
Views: 2904
Reputation: 653
Karthik, I don't recommend using the System.Web.Mail, since it's been deprecated since 2005. Use the SmtpClient class in the System.Net.Mail namespace instead.
Upvotes: 0
Reputation: 148110
You have to add reference to that web.dll Right click on reference folder and choose Add Reference. New window will open, select the first .net Tab. You will find list of dlls go to web.dll and select it.
Upvotes: 2