Thread: Find sent email
View Single Post
  #1  
Old April 26th 06, 03:43 PM posted to microsoft.public.outlook.program_vba
Bela Gocz
external usenet poster
 
Posts: 2
Default Find sent email


Hi everybody!!

My problem started when i tryed to find a sent email in VB with Outlook
2002. After it send the email, the EntryId of mail item is changed. So i
added an ItemProperty to my message to find it in Sent Items folder. But
I really don't know how to search a message after his ItemProperty

objEmail.ItemProperties.Add "myitem", olText
objEmail.ItemProperties.Item("myitem").Value = "uniqueID"

Set objSearch = Application.AdvancedSearch("'Sent Items'", "...")

Any idea how the DASL search string shoul look like?

Thank you a lot

*** Sent via Developersdex http://www.developersdex.com ***
Ads