hi in my asp.net apllication(c#) am working with sending mail issue..
my following below code is
System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage ();
msg.From =smitha@gmail.com;
msg.To = shruthi@gmail.com
msg.Subject = sub;
msg.Body = body;
System.Web.Mail.SmtpMail.SmtpServer = "mywebsite.com";
System.Web.Mail.SmtpMail.Send(msg);
am getting a error message like"Could not create an object of type 'CDO.Message'. Please verify that the current platform configuration supports SMTP mail."..
please suggest me the solution