Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Display a MIME message in an outlook form (http://www.outlookbanter.com/outlook-using-forms/11733-display-mime-message-outlook-form.html)

s_747 April 16th 06 06:39 AM

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,



All times are GMT +1. The time now is 07:57 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com