View Single Post
  #1  
Old April 16th 06, 06:39 AM posted to microsoft.public.outlook.program_forms
s_747
external usenet poster
 
Posts: 1
Default Display a MIME message in an outlook form

HEy,
I am new to outlook programming so bear with me if this is a simple
problem. I get an email as a MIME string from a datasource and I would
like to display it in an Outlook form. This is an email that has been
revceived so it needs to look as if a message in say the inbox was
opened. I have only been able to open up the email in a new message
windows using code shown below. I am developing in C#.
Outlook.MailItemClass mItem =
(Outlook.MailItemClass)wApp.CreateItem(Outlook.OlI temType.olMailItem);
mItem.to = strTo;
mItem.BCC = strBCC;
mItem.CC = strCC;
mItem.Subject = strSubject;
mItem.BodyFormat = Outlook.OlBodyFormat.olFormatPlain;
mItem.Body = strBody;

I would appreciate any help I could get on this. Thanks a lot,

Ads