Hi bhavin
All I can think is that you have not added a reference to the System.Web assembly in your project. This is not added by default when you create a windows application, like it is is in web apps. Once you add this, you should be able to use the Systen.Web.Mail namespace as normal.
Hope this helps
Philip
|