Hi,
I wrote coding to send email with the following format.
eMail = new MailMessage();
eMail.BodyFormat = MailFormat.Text;
eMail.From = _SendFrom;
eMail.Fields[http://schemas.microsoft.com/cdo/con...on/smtsperver] = "SMTPServerName";
eMail.Fields["http://schemas.microsoft.com/cdo/configuration/smtpserverport"] = 25;
eMail.Fields["http://schemas.microsoft.com/cdo/configuration/sendusing"] = 2;
eMail.To = "recipients";
SmtpMail.SmtpServer = SMTPServerName;
SmtpMail.Send(eMail);
Eventhough smtp server is enable i am getting error message as "Could not access CDO message".
i tried a lot in net search but i not.
so help me how to overcome this error