![]() |
|
#1
|
||||
|
||||
![]()
You would need to identify the Store that contains the inbox e.g.
Code:
Dim oFolder As Folder Set oFolder = Session.Stores.Item("Name of Store").GetDefaultFolder(olFolderInbox)
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#2
|
|||
|
|||
![]() Quote:
Thanks, Have struggled with this, but this was very helpful. So "Name of Store" is the specific email address I wish to monitor. From that I can get the incoming msgs (item) in the inbox. A related question - Users will sometimes move a new msg from inbox to specially named folders like PastDueBill, Personal, etc. If they do so before I am able to pick up the new msgs in inbox, could you help me on the syntax for checking each of these other custom mailboxes they created? Also, how would I get the names of these other mailboxes they are using mostly for storage? Again, many thanks for clearing up this Store concept for me. Mark |
![]() |
Tags |
getdefaultfolder, reading mail |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Saved .msgs copies locked | asd12 | Outlook | 1 | 07-27-2018 06:32 AM |
Inbox rule to move everything from Junk to Inbox automatically? | sand3 | Outlook | 0 | 02-07-2017 12:38 PM |
How to stop OL from showing connection lost msgs.? | mmo | Outlook | 0 | 01-14-2016 04:33 AM |
Reading pane on TOP? | hehunt | Outlook | 0 | 04-10-2014 06:34 AM |
![]() |
ItzVickey | PowerPoint | 2 | 08-08-2012 09:23 AM |