default folder

  1. I

    Capture incoming emails

    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...
Back
Top