exchange mailstore - FolderCreate event

Status
Not open for further replies.
D

d2xhbg

Hi,

I'm doing some custom operation when user creates a new folder in mailbox.

for doing above, i'm listening folderCreate event of mail store.

In Outlook 2003, sometimes i'm getting foldercreate event for folders with

numeric name. I don't know reason...

The folder names looks like 33xxxx etc...any idea who creates this

folders?exchange server?

thanks
 
K

Ken Slovak - [MVP - Outlook]

Never seen that. Are these folders within a logon's mailbox? Are there any

actual folders corresponding to those names, if so what do they contain?

The only thing I can think of offhand is maybe you're being notified of

creation of temporary search folders created when Advanced Find is used (or

some other operations). If the folders are transient that's possible. See if

you can capture one and review its MAPI properties. See if PR_FOLDER_TYPE

(0x36010003) == 2. That would be FOLDER_SEARCH. For DASL syntax it would be

"http://schemas.microsoft.com/mapi/proptag/0x36010003" (not an URL).

That property isn't exposed in the object model, so you'd need to be using a

lower level API such as CDO 1.21, Extended MAPI, or a MAPI wrapper such as

Redemption (www.dimastr.com/redemption) to get at it. In Outlook 2007 you

could use the Folder.PropertyAccessor object with that DASL tag above to

return the PT_LONG value of PR_FOLDER_TYPE.

"wlan" <wlan> wrote in message

news:11099A77-46C7-4D4B-BA32-B0BC262AF8FF@microsoft.com...
> Hi,

> I'm doing some custom operation when user creates a new folder in mailbox.
> for doing above, i'm listening folderCreate event of mail store.

> In Outlook 2003, sometimes i'm getting foldercreate event for folders with
> numeric name. I don't know reason...

> The folder names looks like 33xxxx etc...any idea who creates this
> folders?exchange server?

> thanks
 
Status
Not open for further replies.
Top