I just want to create such mail system to send mail in C#:
here is the code:
MailMessage mail = new MailMessage();
mail.From = "email@example.com";
mail.To = "firstname.lastname@example.org";
mail.Subject = "Test Message";
mail.Body = "Test Message";
mail.BodyFormat = MailFormat.Text;
and it crashed with such message:
Cound not access 'CDO.Messgae' object.
I have the outlook, what is the problem?