View Single Post
  #1  
Old February 27th 06, 04:14 PM posted to microsoft.public.outlook.program_forms
Clive
external usenet poster
 
Posts: 6
Default How can I create a MailItem that displays like a received MailItem ?

I'm creating an application that uses SQL Server to store important Emails
and I want users to be able to see their emails in a normal Outlook mail
form.

It's working well assigning the HTMLBody etc. from the db except that the
form looks like a new email, not an existing one from a folder - i.e.
Hyperlinks don't work and the To, CC and Subject entries are still
amendable. Is there some way to make the email look as though it has
already been sent / received?

Up to now I've used:

MyMailItem = olApp.CreateItem(olMailItem)
MyMailItem.HTMLBody = value from db
etc
MyMailItem.Display

Will I have to create my own type of form?

Many thanks in advance.

Clive Elsworth
UK


Ads