![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have a database in MS Access (2003) in which I plan to allow the
user to generate an Outlook email from within Access based on the active record. I would like to store in the database a reference to the email. I would like to get some kind of unique message ID from Outlook just as I am sending the email, store that unique ID in another part of the Access database, then use that value later to open the stored email quickly in Outlook. Is there a way to do this with the Outlook object model, and if so where could I find a quick explanation of it? If that task turns out to be possible, then I would like to extend that and get a reference to something that might be called "ReplyTo ID". That is, if a given message is a reply to another message, what is the unique ID of the parent. Thanks in advance for all responses. - Paul Schrum |
Ads |
#2
|
|||
|
|||
![]()
Use thee value of the MailItem.EntryID property.
You can then reopen the message using Namespace.GetItemFromID Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Paul Schrum" wrote in message ... I have a database in MS Access (2003) in which I plan to allow the user to generate an Outlook email from within Access based on the active record. I would like to store in the database a reference to the email. I would like to get some kind of unique message ID from Outlook just as I am sending the email, store that unique ID in another part of the Access database, then use that value later to open the stored email quickly in Outlook. Is there a way to do this with the Outlook object model, and if so where could I find a quick explanation of it? If that task turns out to be possible, then I would like to extend that and get a reference to something that might be called "ReplyTo ID". That is, if a given message is a reply to another message, what is the unique ID of the parent. Thanks in advance for all responses. - Paul Schrum |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MAPI created Outlook message has wrong Message Type | dougolivier | Outlook and VBA | 3 | December 11th 07 05:58 PM |
Refer original Item from new form | sriramna | Outlook - Using Forms | 9 | March 26th 07 04:56 PM |
"Suggest Name" - refer to Contacts instead of incoming "display name"? | Mudroom | Outlook - Using Contacts | 0 | December 12th 06 04:57 PM |
refer to "To" Field in Code | Joel | Outlook and VBA | 10 | December 7th 06 03:35 AM |
Outlook 2007 e-mail message headers download but not message body | DJR | Outlook - Installation | 3 | September 13th 06 04:00 AM |