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.
Similar threads
Thread starter Title Forum Replies Date
L Capture email addresses and create a comma separated list Outlook VBA and Custom Forms 5
R Capture Sender's Display name and Address Outlook VBA and Custom Forms 3
M Using field names to capture a data element Using Outlook 0
A Capture network traffic in IE to file Outlook VBA and Custom Forms 5
JorgeDario How to capture and save the text, when responding a MailItem? Outlook VBA and Custom Forms 3
G Capture "forward event" ? Outlook VBA and Custom Forms 11
J VBA Form in Outlook to capture data and complile a mail Outlook VBA and Custom Forms 2
A how to capture events for next item Outlook VBA and Custom Forms 10
B Capture Inbound E-mail Subject with VBA Outlook VBA and Custom Forms 4
R How to capture a Mailitem Event Outlook VBA and Custom Forms 3
A how to capture outlook 2007 events Outlook VBA and Custom Forms 4
T Some way to capture who marks an email as read Outlook VBA and Custom Forms 1
C Event Capture - Item Context Menu (Delete). Can you hook it? Outlook VBA and Custom Forms 1
HarvMan Outlook 365 - Rule to Move an Incoming Message to Another Folder Using Outlook 4
E Edit incoming emails to remove a certain sentence added by the "system" Using Outlook 1
Z Outlook 365 Automatically assign categories to incoming mail in a shared folder Round Robin Outlook VBA and Custom Forms 1
L Specific Incoming Email Address Immediately Deleted Using Outlook 2
richardwing Outlook 365 VBA to access "Other Actions" menu for incoming emails in outlook Outlook VBA and Custom Forms 0
T 1:1 Datatransfer from incoming mail body to customs form body Outlook VBA and Custom Forms 0
Aussie Outlook 365 Rule runs manually but returns the error code "an unexpected error has occurred" when incoming mail arrives Using Outlook 1
F Forward incoming email with 4 embedded images in the body without original sender Outlook VBA and Custom Forms 22
R Auto Assign Category colours to Incoming Emails based on whom the email is addressed Outlook VBA and Custom Forms 3
Aussie Rules Run a Script on an Incoming Email OK and then the Email reverts Outlook VBA and Custom Forms 0
C Macro to extract sender name & subject line of incoming emails to single txt file Outlook VBA and Custom Forms 3
e_a_g_l_e_p_i Is it possible it set the fonts used to read incoming mail Using Outlook 25
oliv- How to distinguish whether mail is incoming or outgoing? Outlook VBA and Custom Forms 2
T Search for incoming e-mails for a specified time range Using Outlook 1
G Detect Google Drive and OneDrive links in incoming mail Outlook VBA and Custom Forms 3
D Outlook 2016 customization of incoming messages Using Outlook 1
T Incoming Mail Changes Fonts Using Outlook 0
R VBA to manage incoming mail Outlook VBA and Custom Forms 2
S Changing notification sound for new incoming messages in Outlook 365/2016 Using Outlook 1
D VBA to edit body of incoming email and forwarding it Outlook VBA and Custom Forms 11
P Use VBA to alert if new incoming email fits criteria Outlook VBA and Custom Forms 0
A Processing Incoming E-mails with Macros Using Outlook 0
D Delete selected text from incoming emails Outlook VBA and Custom Forms 25
Danny2015 how to change incoming mail conversationtopic successfully Outlook VBA and Custom Forms 6
R IMAP & Outlook 2007: incoming messages still going to old Inbox. Using Outlook 3
A Incoming mail not downloading Using Outlook 2
G Rule starting a VB macro against incoming email Outlook VBA and Custom Forms 3
D Setup expire date for incoming mail Outlook VBA and Custom Forms 2
MattC Some fonts the wrong size in incoming emails in Outlook 2007 Using Outlook 6
C Mark all incoming emails as read Outlook VBA and Custom Forms 3
Emerogork How do I set up an "Incoming mail filter" Using Outlook 12
A Gibberish Titles & Attachments @ incoming Outlook 2013 emails Using Outlook 1
K Ask about a simple script about save a incoming mail as file on local PC Outlook VBA and Custom Forms 3
M Best way to identify/designate contacts in incoming emails? Using Outlook 4
J How to sort incoming email that is sent to a different address to my main one? Using Outlook 1
M Incoming invites to my imap account does not sync to outlook.com Using Outlook.com accounts in Outlook 29
S The incoming task is not valid ((when users are accepting a Task) Using Outlook 5

Similar threads

Back
Top