>George,
>
>The one thing I'm still trying to work out is how to
>return a reference to a folder.
>
>Say for example an APP I have sends an EM to the MIS department
>whenever an error occures. The subjet might read:
>"error; appname ;error number"
>
>MIS might have an app that automatically processes the EM's and
>forwards it to the appropriate programmer.
>
>Later on the programmer has fixed the problem and wants to automtically
>reply to the sending app with a patch.
>
>I need a way to find this EM programmatically. On my PC, the following
>returns a reference to a client's folder in inbox\clients\clientname\projects:
>
>oNamespace.folders[2].folders[5].folder[2].folder[1]
>
>So how do I search down the tree to find an EXACT folder or EM in a folder?
>
>Thanks
>Lost In Cyperspace!!!
Hey Kevin,
If you've got access to the MSDN Libary (October) look for an article entitled "Automating Microsoft Outlook 98" by Mindy Martin in the technical papers. It shows the object model. It'd be a better resource than I on this subject. If you don't have access to that, you might try either the MSDN site or
http://www.informant.com/mod/index.asp for a copy.
George
Ubi caritas et amor, deus ibi est