Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   How can I create a MailItem that displays like a received MailItem ? (http://www.outlookbanter.com/outlook-using-forms/5667-how-can-i-create-mailitem.html)

Clive February 27th 06 04:14 PM

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




All times are GMT +1. The time now is 06:32 AM.

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