Click to See Complete Forum and Search --> : CMimeMessage problem


Sicilian
October 3rd, 2002, 04:59 PM
Hi,

I have a problem with the following code:

CMimeMessage message;
message.SetSender( _T("myemail@mydomain.com") );
message.AddRecipient( _T("myemail@mydomain.com") );
message.SetSubject( _T("A test message") );

At this point, I get an assertion error:

File: c:\program files\microsoft visual studio .net\vc7\atlmfc\include\atlspriv.h
Line: 285
Expression: pMultiLanguage != 0

Any ideas how I can fix this? If I ignore the error I get the e-mail as desired, but with no subject. Thank you for any help you can provide.

Sicilian
October 4th, 2002, 11:02 AM
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3c97b2e7%241%40news.microsoft.com

Would have been nice if this was in the documentation, oh well...