Capture incoming emails

Not open for further replies.

Iqbal Khan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
I am using the below code to set the default folder as Inbox.
Set gnspNameSpace = Outlook.GetNamespace("MAPI") 'Outlook Object
Set fldInbox = gnspNameSpace.Folders(GenericFolder_Root).Folders("Inbox")
Set myInboxMailItem = fldInbox.Items

Hence all the incoming emails in Inbox are capture.

How do make all the sub folders in Inbox as default as well so all the emails in Inbox and subfolder are captured.

Thank you
Not open for further replies.