Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-26-2018, 05:08 AM
MarkAtTheBeach MarkAtTheBeach is offline Reading msgs from specific inbox Windows 10 Reading msgs from specific inbox Office 2016
Novice
Reading msgs from specific inbox
 
Join Date: Oct 2018
Posts: 6
MarkAtTheBeach is on a distinguished road
Default Reading msgs from specific inbox

Am trying to read email from Outlook. In VBA, I create an outlook session, then read the inbox with:


oSession.logon()
oInbox = oSession.GetDefaultFolder(6)


But if the user has more than one account, cannot figure how I can get the inbox for a specific account just using the email address or the account name.


Any help greatly appreciated,
Mark
Reply With Quote
 

Tags
getdefaultfolder, reading mail

Thread Tools
Display Modes


Similar Threads
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
Reading msgs from specific inbox How to save a PPT file in 'Reading View' to be opened always in 'Reading View' ItzVickey PowerPoint 2 08-08-2012 09:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft