A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how to see if a mail item has been deleted or not (in an IMAP folder)



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 24th 07, 10:07 AM posted to microsoft.public.outlook.program_vba
Christoph Guentner
external usenet poster
 
Posts: 1
Default how to see if a mail item has been deleted or not (in an IMAP folder)

When I delete a mail item in folder of an IMAP account the item is nit
removed but displayed stike through.
How can I detect in VBA or VB if the selected mail item is delted like this?
I checked all the properties and all the MAPI properties, but did not found
an appropiate.

Any idea?




Ads
  #2  
Old January 25th 07, 06:16 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default how to see if a mail item has been deleted or not (in an IMAP folder)

Not in the Outlook Object Model - you will need to use Extended MAPI
(C++/Delphi) or CDO 1.21 or Redemption to see if the following
named property is present and set to anything other than 0:

{00062008-0000-0000-C000-000000000046}, 0x8570, PT_LONG

Look at a message with OutlookSpy (click Imessage) to see the property.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Christoph Guentner" wrote in message
...
When I delete a mail item in folder of an IMAP account the item is nit
removed but displayed stike through.
How can I detect in VBA or VB if the selected mail item is delted like
this?
I checked all the properties and all the MAPI properties, but did not
found an appropiate.

Any idea?






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add folder attachment to mail item ? semedao Outlook and VBA 1 January 16th 07 03:01 PM
IMAP sent-mail folder Alberto Outlook - General Queries 1 September 30th 06 05:55 PM
Copy mail item to one folder and then move it to another folder LDMueller Outlook - Using Forms 1 September 15th 06 03:15 PM
sent e mail goes to deleted folder Jay Outlook - Using Contacts 1 May 3rd 06 08:48 PM
Forwarding a mail from your sent item folder [email protected] Outlook - General Queries 0 March 22nd 06 06:13 PM


All times are GMT +1. The time now is 06:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.