Capture incoming emails

Status
Not open for further replies.

Iqbal Khan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
POP3
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
 
Status
Not open for further replies.
Top