Link to home
Start Free TrialLog in
Avatar of vj_mi
vj_mi

asked on

System.Net.Mail issue in VS 2005

HI,

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?

Regards,
MI
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial