Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

With Outlook 2021, is there a way to use IConverterSession

I have a project that uses the function CoCreateInstance that tries to load IConverterSession. but now that's failing, with HR -2147221164 Our CoCreateInstance example: HR = CoCreateInstance( ...
Tyler McCall's user avatar
0 votes
1 answer
132 views

C++ MAPI: how to define named properties corresponding with a contact's email address?

I'm trying to convert a Microsoft.Graph.Contact object into a PST file for Outlook using Extended MAPI, and I don't know where to feed the contact's email addresses to and have it show when I open the ...
Tyler McCall's user avatar
0 votes
1 answer
60 views

Prevent Redemption.dll from Automatically Attaching Created PST to Outlook

I am trying to create a PST file using Redemption.dll in C#, but the created PST file is automatically attached to Outlook. The PST file is successfully created at the selected location, but when I ...
New Dev's user avatar
  • 13
0 votes
1 answer
112 views

Create outlook com-object without mail account

I need to create PowerShell Script to test pst-files for password protections. I'm trying to do this thru outlook com-object creation. But this method requires pre-created email profile. How can I get ...
Posix's user avatar
  • 23
4 votes
1 answer
920 views

Extract meta data from Microsoft PST file with Python and pypff

I am encountering a problem extracting meta data from a PST file. As you can see in the code I am using pypff to read the PST file. I need to extract the following data from the emails: sender, ...
Legion's user avatar
  • 41
1 vote
0 answers
552 views

how to generate a pst from folders and eml files with python

I currently have a script that generates email backups from an email account over an IMAP connection. This script downloads all emails in EML format, also creates subfolders and saves emails in their ...
Brayan Gonzalez's user avatar
0 votes
2 answers
683 views

Extracting message attachments from PST files Microsoft Outlook using python

I have a PST file with messages. I need to extract all attachments in messages using Python and save them separately in another directory with the same names as they actually have. Please tell me how ...
Vladimir Bait's user avatar
0 votes
2 answers
146 views

Parsing the pst file for the owner

I am analyzing a Microsoft Outlook PST file using python 3 and I need to find out who owns this mailbox. The name of the owner and the name of his mailbox are enough for me. Please tell me, is it ...
Vladimir Bait's user avatar
0 votes
0 answers
270 views

How to use the python pypff library to find the start and end time of an event in the outlook calendar (*.pst)

How to use the python pypff library to find the start and end time of an event in the outlook calendar (*.pst)? Using my recursive function, I get access to calendar events as messages, and then I get ...
Sergey Petrilin's user avatar
0 votes
1 answer
375 views

Java code to read outlook PST files to get mail address in TO, CC

I want to get the list of all email as unique addresses by using a library named Java libpst. The problem is that the library suggest to read all the message from the root folder but what about the ...
Francisco Ramirez's user avatar
0 votes
2 answers
387 views

How to find the folder reference and add appointment to non default calendar/folder through Excel

I've been building some VBA for a calendar events to be generated through an excel macro. My issue is that I want the event to go to a non default calendar but i'm struggling through my reading here ...
MikeB's user avatar
  • 3
1 vote
1 answer
430 views

export Outlook emails to PST with Python win32com.client

from pathlib import Path import win32com.client # Creation du repertoire output_dir = Path.cwd() / "Backup" output_dir.mkdir(parents=True, exist_ok=True) # Acceder à outlook outlook = ...
tandian's user avatar
  • 11
1 vote
0 answers
760 views

Unable to install pst library

Trying to run python code to extract PST file. The code itself is here: import pypff pst = pypff.file() pst.open("File.pst") pst.close() And here is attempt to install PST module libpff. $ ...
smart2004's user avatar
1 vote
3 answers
320 views

In MS Outlook VBA, how to find hidden data in a MailItem

Environment: MS Office LTSC Pro Plus 2021 under Windows 11 Pro 64 Background A couple of weeks ago, I had the startling experience of watching my Outlook inbox fill up with thousands of copies of old ...
NewSites's user avatar
  • 1,849
1 vote
0 answers
929 views

PST to EML with Python

I am looking for how to "convert" from PST to EML in Python. Is there some way to convert a PST file to EML while keeping the formatted text and attachments? I was not able to find it on ...
NobodyKnowsAboutMe's user avatar
0 votes
0 answers
189 views

how to read recurring events from outlook pst file using libpst

I'm using the java libpst 0.9.3 (https://mvnrepository.com/artifact/com.pff/java-libpst/0.9.3) to read calendar events from a local outlook pst file. I struggle to get the proper information for ...
cib001's user avatar
  • 1
1 vote
0 answers
174 views

How do I obtain a list of PST Files in stores from Outlook?

I'm reading in emails from PST file and would like the user to be able to specify the file to be read from within the Delphi App and set it as the default. Setting a PST file into the Sessions store ...
G Martin's user avatar
2 votes
0 answers
727 views

How do I get FROM/TO/CC and BCC using pypff?

In pypff there is the attribute sender_name for messages, but I can't get the destinataries. Tried using message.trasnport_headers and parsing it, but it seems some messages don't have ...
Oliveira's user avatar
1 vote
1 answer
495 views

New-MailboxExportRequest quote issue

I'm trying to get the following command into a program I am developing in PowerShell studio, I'm having some issues figuring out the escaping sequence here, and testing takes forever since I have to ...
RK-Works's user avatar
-2 votes
2 answers
3k views

Create an Outlook Archive with Powershell

I have to create archive (.pst file) for mailbox in Outlook. I use an exchange server 2016. If i do the "microsoft way" (https://support.microsoft.com/en-us/office/archive-items-manually-...
mikael boyer Pro's user avatar
0 votes
1 answer
1k views

Convert pst file to msg files

I am trying to write a program that will take msg files and extract data fields from the msg files such as to, cc, bcc, subject, date/time sent etc. Using the Python library extract_msg I have ...
bourne86's user avatar
12 votes
2 answers
15k views

How to parse / read Outlook PST-Files with Python?

Searching the Internet for accessing Outlook PST-Files with Python gives very little results (and most of the stuff shown is outdated). Does anyone know how to read a PST with or without a library? ...
Ulrich's user avatar
  • 349
0 votes
1 answer
724 views

Using PowerShell (5.1) to EDIT outlook PST path

I know how to add or remove a store with PowerShell using Microsoft.Office.Interop.Outlook, but I haven't found any information about changing values. I read https://learn.microsoft.com/en-us/office/...
UprightAnimal's user avatar
0 votes
0 answers
307 views

How to automate PST Export in Outlook

I've seen similar questions asked but with no good answers. I simply want to be able to automate the PST Export feature of Outlook. In other words, I want to be able to schedule a time when Outlook ...
Ryan Griggs's user avatar
  • 2,808
1 vote
0 answers
196 views

Email address not retrieved when using PST-Parser, get Exchange code instead

I'm using PST-Parser to parse .pst files. Most of this is working, but I am having a problem when a message contains a recipient who is on an Exchange server, at least, I think that's the problem. If ...
Avrohom Yisroel's user avatar
1 vote
0 answers
557 views

Problem getting data from .pst file using win32com.client

I am trying to extract some data from a .pst file using win32com.client as described in the answer of Read PST files from win32 or pypff. However, when I run the code I receive the following error: ...
David Meyenberg's user avatar
2 votes
1 answer
1k views

Extracting time data from .pst file using pypff

I am trying to write a small python program to compare mailboxes with .pst files in order to check for consistency. I want to extract subject, sender, and datetime data from a .pst file using pypff, ...
David Meyenberg's user avatar
0 votes
1 answer
56 views

Activate Outlook add-in for message stored in separate PST file

We have an Outlook add-in with a task pane that can be opened for messages in Read mode to perform an action on the message. This works fine for messages in the user's normal mailbox, but the button ...
user10998602's user avatar
0 votes
1 answer
479 views

use MAPIProperties to get Email, how can I convert Ex address to regular address

I'm trying to read .pst file that export from outlook. I use this https://github.com/tghanem/PST library to read emails in pst file. here is some code: //Arrange var sut = GetFolderSut(); ...
Xu阿兮's user avatar
0 votes
1 answer
216 views

Tried to move mails from Inbox to PST, but they vanished

I have written a simple script with the aim to backup Inbox, Archived and Sent mails to an attached PST datafile. It seems it works fine: the script found source folders from my email account, it ...
Dario Corrada's user avatar
0 votes
1 answer
194 views

PyWin32 excluding one specific instance of tag on all emails read in from PST

I've been developing a Python tool to ingest and write all emails from a PST exported from Outlook to individual .html files. The issue is that when opening the PST in outlook and checking the source ...
Nick's user avatar
  • 1
0 votes
1 answer
604 views

Getting MAPI_E_NOT_ENOUGH_MEMORY, 0x8007000E when processing large PSTs through CPP+COM application

We are processing large PST file programmatically, making few changes in emails and then storing back into the PST. We are kind of doing it for each and every mail in PST. But after certain number of ...
Omkar's user avatar
  • 15
0 votes
1 answer
1k views

Create a pst file with a bunch of msg files using win32com python

I have a bunch of msg files in a directory, I'd like to kinda put/zip them in a pst file. I've seen some solutions like Aspos Email which needs JVM on the machine. I want to do it with Outlook itself ...
Venkatesh Dharavath's user avatar
-1 votes
1 answer
2k views

How to convert UTC datetime into PST datetime in php

$utc_date = '2020-07-31T00:00:00.000Z'; Now i want this date in yyyy-mm-dd hh:mm:ss format like (2020-07-31 00:00:00), So can we achieve in PHP? How can we do it in easiest way?
mitesh bhanushali's user avatar
0 votes
0 answers
306 views

How to create an outlook search folder in a pst-archive by means of VBA which scans all folders contained in this archive?

Starting situation: Outlook 2016 is connected to the mailbox "Name@Domain" and a local "Archive". The mailbox uses IMAP/SMTP and a local OST-file. "Archive" is a local ...
web.user.1999's user avatar
0 votes
2 answers
1k views

PowerShell - Automate loading .pst files into Outlook and exporting individual .msg items inside

I am currently working on a project where I have been given a lot of .pst files. These files contain individual .msg files inside which I need to run an analysis on. I am planning to read the .msg ...
rubs90's user avatar
  • 65
0 votes
2 answers
1k views

Outlook which files are connected pst

Please tell me how you can get information from the registry, the list of connected .pst files at the moment? Example: Outlook 2013 is installed, an archive is connected to it - archive.pst. From ...
Ivan's user avatar
  • 1
0 votes
1 answer
409 views

Office 365 import job PST Rest API

We have jobs to import PST files (attach screenshot) using office 365 admin portal, i want to get job's status using Microsoft graph API it is possible?
Moti Malka's user avatar
1 vote
0 answers
720 views

Is there a way to disconnect a SharePoint calendar connected to Outlook with PowerShell?

We have SharePoint calendars connected to Microsoft Outlook. When connected, Outlook creates a SharePoint List.pst file in %UserProfile%\Documents\Outlook folder. We need to programmatically move ...
Martin's user avatar
  • 11
0 votes
0 answers
140 views

Import PST file to specific mailbox with a Account with Full Access rights

I am working on a command line tools which can Import PST file to specific mailbox (or any mailbox) with an Account with Full Access rights, What is the best way to archive this? Redemption Redemption ...
J Zou's user avatar
  • 108
-1 votes
1 answer
2k views

How to convert PST timezone date to Local TimeZone in Javascript?

I'm getting the date in PST TimeZone and need to convert it to local TimeZone. I'm developing a product in CRM so TimeZone can be changed user to user. I tried to use moment JS but for that, we need ...
Sharique Khan's user avatar
-2 votes
1 answer
816 views

How to Convert EMLs to PST? [closed]

Do any one have the solution that how can I convert my EMLs to PST. I have searched a lot and couldn't find any suitable solution for JAVA..
Deepak Singh's user avatar
7 votes
2 answers
57k views

Convert GMT to IST (India Standard Time) using javascript?

I have a date format is GMT or UTC. var mydate = '2020-01-14T17:43:37.000Z' I want to convert this date in IST format so according to this date the output I need in this format. var date = '2020-...
Shubham Seth's user avatar
0 votes
3 answers
9k views

How can i open pst file (file of outlook mail ) with python?

I have pst file and i want open that with python, how can i do? i try this library but dont work. my code is: import mailparser mail = mailparser.parse_from_bytes(byte_mail) mail = mailparser....
Tomy's user avatar
  • 257
1 vote
0 answers
142 views

Export-Csv - Added new properties doesn't export

This is my very first StackOverflow post so I will try to be undestandable as much as possible :D I'm parsing some .pst files to get all the mails and their properties and then export them as .csv ...
Bruuuh's user avatar
  • 133
6 votes
1 answer
10k views

Extract text from a .PST file

I am trying to extract the content (as a string/text) of a .pst file. I tried different answers but I did not find any relevant solution. Outlook PST File Parsing in Python Read PST files from ...
Magofoco's user avatar
  • 5,524
2 votes
2 answers
5k views

Is there a way to use Python Win32com module to read any local PST file and export messages as MSG files?

I am working on a two stages Digital Forensics project, and on stage one, I need to extract all the messages stored on several outlook's PST/OST files, and save them as MSG files in a folder hierarchy ...
HIC's user avatar
  • 21
0 votes
0 answers
103 views

Size problem while making .Pst file manually

I am creating a .pst file manually by opening it in the outlook and add/copying its own folders containing mail items , just to exceed its size. But after adding and exceeding its size and closing it ...
Suraj More's user avatar
0 votes
1 answer
153 views

Backup Outlook .pst file that is in use

I backup an Outlook .pst file on a client pc with a xcopy command to a Cloud storage account. Sometimes the user client has Outlook started and I can't copy the file because it is in use. Is there a ...
Danny's user avatar
  • 826
0 votes
1 answer
350 views

What is this "BTree" variant being used in PST files?

I've been working on parsing PST files with the help of https://www.five-ten-sg.com/libpst/rn01re06.html and https://blogs.msdn.microsoft.com/openspecification/2010/11/30/ms-pst-how-to-navigate-the-...
Brian Leishman's user avatar

1
2 3 4 5