Sending Emails in ASP.NET 2.0

Discussion in 'ASP.NET 2.0' started by robertolmc, Mar 12, 2006.

  1. In the KB of discountasp.net there is an article (http://kb.discountasp.net/article.aspx?id=10019) about sending emails in ASP.NET 1.1. I tried to use this script in ASP 2.0, but Visual Web Developer 2005 Express Edition gives me an intelicense error saying that the class System.Web.Mail is obsolete and that I should use System.Net.Mail instead. </o:p></o:p>I tried different scripts specific for ASP.NET 2.0 but none of them worked.</o:p></o:p></o:p>Any clues on how to fix this issue? Could anyone give me a sample email script that works with discountasp.net?</o:p></o:p>Thank you, </o:p></o:p>Roberto Lucio</o:p>
    </o:p>
     

Share This Page