I am trying to learn ASP
I have been using the Visual Web Developer 2005
I have the following line that I can not work out how to convert.
Dim FromForm As String = "Mail@Myname.co.uk"
Dim ToMe As String = "Me@myname.co.uk"
Dim FormSubject As String = "Contact Infomation"
Dim EmailText As String = "Blar Blar Blar"
It tells me that I cannot use System.Web.Mail any more and should use System.Net.Mail.
I have been unable to work out what the new code should be to get it to work.
The Language is VB
Can anyone tell me how to change the code to work Please?
I have search every Web Site I could find but they all seem to refer to System.Web.Mail or have pages of code which I am not able to work out which part I need.
Steve D Blake