I just want to create such mail system to send mail in C#:
here is the code:
MailMessage mail = new MailMessage();
mail.From = "firstname.lastname@example.org";
mail.To = "email@example.com";
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?