Link to home
Start Free TrialLog in
Avatar of E=mc2
E=mc2Flag for Canada

asked on

PST / Outlook tp MSG files

I need to save all my Outlook emails to MSG.
Any effective solutions?

ASKER CERTIFIED SOLUTION
Avatar of Alan
Alan
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of E=mc2

ASKER

there are 97000 plus emails this may take a long time
97,000 is actually a relatively small mailbox, so you are in a pretty easy situation depending on the content of course.

However, if you are concerned, then split the 'search' by subfolders or by dates or whatever makes it easy for you into small chunks such as 10,000 or so at a time.  It will still only be about ten rounds.  You could also restrict by size, and only do the top 100 first (generally quite large), then move on.  You might well find that the last (smallest) 80,000 will be less data than the first 1,000!

You could just give it a go overnight if you are concerned about it taking too long - start at 5pm this evening (Friday) and see what happens.

Alan.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Any reason you couldn't save to a PST instead? I suspect it would be easier than working with 97k files?
 
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I need to save all my Outlook emails to MSG.
How do you want to handle attachments?

Edit on 30-Nov-2020: See more questions in my post below.
Hi Folks,

I'm working on a program that does this and would like to get some feedback on design issues from anyone who is interested in such a solution:

(1) What should the file name of the MSG file be? Ideas:

(a) The Subject of the email (with characters that are invalid in a file name being replaced by a hyphen or some other user-specified character).

(b) Same as (1a) but with a prefix or suffix with the PST folder name, such as Inbox.

(c) Same as (1b), but include the subfolder(s) name(s), too, such as Inbox-Banks, Inbox-Banks-WellsFargo, etc.

(d) Same as one of the above, but include the creation time of the Outlook item (technically, the Component Object Model MailItem.CreationTime property, which corresponds to the MAPI property PidTagCreationTime).

(e) Other ideas?

(2) Where should the MSG files be stored? Ideas:

(a) Allow user to specify a single folder where all the MSG files will be stored. If this results in duplicate file names, add an integer as a suffix (keep increasing the integer until the file name is unique).

(b) Allow user to specify a root folder and then have the program create a folder/subfolder structure under that root folder that corresponds to the folder/subfolder structure in the PST file. Handle duplicate file names as in (2a).

(c) Other ideas?

(3) How to handle attachments? Ideas:

(a) Ignore them...just save the body of the email...do not need attachments.

(b) Save them in the same folder/subfolder as the corresponding MSG file.

(c) Allow user to specify a single folder where all the attachments will be stored. If this results in duplicate file names, add an integer as a suffix (keep increasing the integer until the file name is unique).

(d) Allow user to specify a root folder and then have the program create a folder/subfolder structure under that root folder that corresponds to the folder/subfolder structure in the PST file. Handle duplicate file names as in (3c).

(e) Other ideas?

(4) How to name attachments? Ideas:

(a) Use the file name of the attachment as is. If this results in duplicate file names, add an integer as a suffix (keep increasing the integer until the file name is unique).

(b) Same as (4a) but with a prefix or suffix with the PST folder name, such as Inbox.

(c) Same as (4b), but include the subfolder(s) name(s), too, such as Inbox-Banks, Inbox-Banks-WellsFargo, etc.

(d) Other ideas?

Feel free to provide additional design ideas on such a program besides the four areas mentioned above. TIA for your comments. Regards, Joe
I really don't care if this is closed or how it is closed and I couldn't care less about points. But what I do care about is that I spent many hours on a program to do this. It is currently more than 400 lines of code (plus another nearly 300 lines of an installer). It is in a back-burner status waiting for feedback from the asker or anyone else who is interested. Hoping for design thoughts from my EE colleagues. Regards, Joe
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- 'Alan' (https:#a43201896)
-- 'CompProbSolv' (https:#a43201899)
-- 'Bill Prew' (https:#a43202105)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer