I have Imports System.Web.Mail in 2003. Now when I migrated to VS 2005, I changed this to System.Net.Mail.
But now I find that in 2003, I can set the value to Message.To as Message.To = strReceiversEmail
But in Vs 2005, this statement gives me error as Message.To is read-only. Then how do I assign value to .To i.e. the receivers' email address?