View Single Post
  #3  
Old October 8th 07, 05:00 PM posted to microsoft.public.outlook.program_vba
Maurice
external usenet poster
 
Posts: 48
Default Retrieving sent items

Hi ken,

My point exactly. It's for outlook 2003. I tried reading the EntryID but I
could obly get that when the item was actually sent. Strange thing is that
when I run the code
the message is immediatly set in the sent items folder but it doesn't have
an EntryID yet.

I tried sending a mail to myself. The mail was immediately in sent items. I
went through sent items via VBA and it did recognize the mail as being there
but it didn't have an EntryID until I received the mail. Strange, so Outlook
must do some updating by itself when the mail is actually delivered because
it looks like that's the moment when the EntryID is designated to the sent
item.

What would your advise be in this case, create an own unique key. If so how
can I designated that to let's say a mail?

Thanks for the info so far...
--
Maurice Ausum


"Ken Slovak - [MVP - Outlook]" wrote:

If this is for Outlook 2003 or later you can use GlobalObjectID but that and
EntryID are only valid after an item is sent.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Maurice" wrote in message
news
Hi,

specs: Outlook2003 WinXP

In my database I want to store the data I sent via Outlook. My plan is to
be
able to retract certain appointments if necassary. I thought I use the
EntryID for this and add this to my database. The EntryID however is only
there when the appointment is delivered. So not a steady, reliable
situation.
What kind of 'stamp' can I add to an appointment, mail or task so I can
check
my Sent Items to maybe retract an appointment via my Access database.

e.g. Send an appointment via Access - Outlook. Record is saved in
database.
Now I want to retract the appointment via the database. Record has some
sort
of [stamp] or unique identifier which I can check the sent items folder
with
to retract the appointment from the database with.

Hope this makes any sense otherwise let me know and i'll try to rephrase
it.

Thanks for any help in advance..
--
Maurice Ausum



Ads