Forum

Extract Emails from...
 
Notifications
Clear all

Extract Emails from OST File

21 Posts
2 Users
0 Reactions
298 Views
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
Topic starter
 

David,

Is your OST file attached to Outlook and in use with an email address?

Or is it just a file in a folder?

Phil

 
Posted : 08/06/2020 8:56 pm
(@david_ng)
Posts: 310
Reputable Member
 

just the file in the FolderDavid.png

 
Posted : 08/06/2020 9:23 pm
(@david_ng)
Posts: 310
Reputable Member
 

in use with email address :[email protected]

 
Posted : 08/06/2020 9:25 pm
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
Topic starter
 

Hi David,

There seems to be some confusion which isn't helped by you not answering my questions.

The code I've written is to read emails from a folder from an account attached to Outlook.  That account must be configured as a working account in Outlook.

I asked for a screenshot of your Outlook folders from inside Outlook but you sent a screenshot of folders in Windows Explorer on your hard drive.

The name of the folder in that screenshot was GKJ00OH004 - this is not the account name I am looking for.  If you referred to the screenshots Marsil posted in the original thread this started in, you would see what I mean.

I have attached some samples below.  You can see that the account name is John Smith and the email address is [email protected].

If your OST file is not connected to Outlook and in use by an account then my VBA code will not work for you.  OST files are offline stores and I do not know any way to open them from VBA.  They are not the same as PST files.  If you are trying to recover the emails because the OST file got disconnected from Outlook, you will probably need specialist recovery software to get them.  I don't know any other way.

So you need to check in your Outlook what the name of the account is and that it is set up and working and that it is connected to the OST file pictured in your screenshot. 

If you just want to read the Inbox then don't worry about a screenshot of the Outlook folders.

Regards

Phil

 
Posted : 09/06/2020 12:04 am
(@david_ng)
Posts: 310
Reputable Member
 

But still not sure where to check the name of the Account in outlook ?

Would it be ng.david.wl

 

David-1.png

 
Posted : 09/06/2020 12:12 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
Topic starter
 

Hi David,

You check from the account setup in Outlook.  It'll depend on your version of Outlook but it'll be something like File -> Account Settings

But, looking at that latest screenshot, you're email address and account name may be the same.  It can be set up this way.

Try the attached file.

Regards

Phil

 
Posted : 09/06/2020 12:46 am
Page 2 / 2
Share: