N
NicMic
Hi,
I'm using a Redemption email filtering solution and having problems with
emails placed into folders far down the tree. For example, consider Inbox -->
Personal --> Finance --> Bank. If the "Personal" folder is collapsed and my
Redemption VBA moves an incoming email into the "Bank" folder, I want to
programatically open that folder so I can see the email has arrived.
Code snippets follow to (hopefully) make it more clear: -
Private mrdoSession As Redemption.rdoSession
....
Set mrdoSession = CreateObject("Redemption.rdoSession")
....
Public Sub EmailIn(pobjMailItem As Outlook.MailItem)
Dim rdoMailItem As Redemption.RDOMail
Dim rdoDestFldr As Redemption.RDOFolder
Set rdoMailItem = mrdoSession.GetMessageFromID(pobjMailItem.EntryID)
....
[Check email details and decide where it should go]
Set rdoDestFldr = [chosen dest]
....
rdoMailItem.Move rdoDestFldr
So, the above Move method has put the incoming email into my "Bank" folder
and I want to expand the tree so I can see it in the Outlook window
(otherwise I won't know it's there).
I just know the solution to this is so simple I'll kick myself.
If any more detail is required (perhaps the entire VbaProject.OTM), please
let me know.
Outlook 2003, 11.8217.8221
Redemption V4.4
TIA,
Nick Michell.
I'm using a Redemption email filtering solution and having problems with
emails placed into folders far down the tree. For example, consider Inbox -->
Personal --> Finance --> Bank. If the "Personal" folder is collapsed and my
Redemption VBA moves an incoming email into the "Bank" folder, I want to
programatically open that folder so I can see the email has arrived.
Code snippets follow to (hopefully) make it more clear: -
Private mrdoSession As Redemption.rdoSession
....
Set mrdoSession = CreateObject("Redemption.rdoSession")
....
Public Sub EmailIn(pobjMailItem As Outlook.MailItem)
Dim rdoMailItem As Redemption.RDOMail
Dim rdoDestFldr As Redemption.RDOFolder
Set rdoMailItem = mrdoSession.GetMessageFromID(pobjMailItem.EntryID)
....
[Check email details and decide where it should go]
Set rdoDestFldr = [chosen dest]
....
rdoMailItem.Move rdoDestFldr
So, the above Move method has put the incoming email into my "Bank" folder
and I want to expand the tree so I can see it in the Outlook window
(otherwise I won't know it's there).
I just know the solution to this is so simple I'll kick myself.
If any more detail is required (perhaps the entire VbaProject.OTM), please
let me know.
Outlook 2003, 11.8217.8221
Redemption V4.4
TIA,
Nick Michell.