Solved

Read folder outside personal folder

Posted on 2014-10-20
4
119 Views
Last Modified: 2014-10-20
I can easily read through the folders in my Personal folder, but do not know how to read through the folders in the mail account circled in red below. Can it be done?

gmail.png
0
Comment
Question by:rrhandle8
  • 2
  • 2
4 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40392878
click on the white arrow in front of the account name to expand it
0
 

Author Comment

by:rrhandle8
ID: 40392902
Read through it using a VBA script.
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40392931
Ah well your question neither mentions VBA nor is it in any category that refers to VBA, So i answered what was asked.

What you want to do is something along the lines of...

Dim objNS As Outlook.NameSpace
Dim objFolder As Outlook.MAPIFolder
Set objNS = GetNamespace("MAPI")
Set objFolder = objNS.Folders("Robin.Handler@gmail.com")
Set objFolder = objFolder.Folders("Inbox")

Example code expanded from.... http://stackoverflow.com/questions/9076634/get-reference-to-additional-inbox
0
 

Author Comment

by:rrhandle8
ID: 40392994
Neilsr,
You got it.  I was missing the last line.
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now