201 questions
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(
...
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 ...
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, ...
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 ...
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 ...
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 ...
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? ...
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 ...
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 ...
78
votes
13
answers
70k
views
Can I read an Outlook (2003/2007) PST file in C#?
Is it possible to read a .PST file using C#? I would like to do this as a standalone application, not as an Outlook addin (if that is possible).
If have seen other SO questions similar to this ...
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 ...
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 ...
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 ...
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.
$ ...
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 = ...
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 ...
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 ...
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-...
-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-...
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 ...
3
votes
2
answers
2k
views
Is there a way to import PST files into Outlook using C#?
Using: Visual Studio 2017 (Language: C#)
I have a similar function written below in PowerShell script, but I need the C# version of it to execute on the click of a button within Visual Studio:
Add-...
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 ...
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 ...
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, ...
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 ...
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 ...
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/...
7
votes
1
answer
20k
views
Export PST and OST with pypff / libpff
I need to do in python a module to export PST and OST files and I am trying to use pypff to do so.
Can someone give me some tips how can I use pypff to extract messages and attachments.
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 ...
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....
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 ...
36
votes
2
answers
109k
views
Python - Setting a datetime in a specific timezone (without UTC conversions)
Just to be clear, this is python 2.6, I am using pytz.
This is for an application that only deals with US timezones, I need to be able to anchor a date (today), and get a unix timestamp (epoch time) ...
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 ...
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:
...
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 ...
20
votes
3
answers
2k
views
How to close a PST file in Java?
I am using java-libpst.0.7.jar for reading PST messages. I am using the following code to open the PST file to read messages.
PSTFile pstFile = new PSTFile("Path of the pst file");
I have to close ...
11
votes
2
answers
11k
views
Common large PST files to test big data
I need a large corpus of PST files (may in GB or TB's) with more mails to test my big data application.
I found only Enron data set. Is any other common PST file available to test ?
Share me PST ...
-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?
8
votes
3
answers
40k
views
Create an email object in java and save it to file
i need to backup the emails contained in a PST file (outlook storage).
i'm using libpst which is the only free library i found on the web
( http://code.google.com/p/java-libpst/ )
so i can access all ...
4
votes
1
answer
7k
views
Read PST files from win32 or pypff
I want to read PST files using Python. I've found 2 libraries win32 and pypff
Using win32 we can initiate a outlook object using:
import win32com.client
outlook = win32com.client.Dispatch("Outlook....
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 ...
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 ...
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();
...
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 ...
2
votes
2
answers
55k
views
Registry key to find pst locations?
For outlook 2010 we had the outlook profiles set under:- HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles.
Similar location for outlook 2013 is:- HKCU\\...
-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 ...
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 ...
-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..
2
votes
1
answer
7k
views
How do I parse an .ost file into separate emails (preferably with Python)
I am currently trying to parse a .ost file into individual items & emails. I have used libpst to accomplish this for .pst files however this doesn't seem to support .ost's. My operating system is ...
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 ...