Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1928  / 3 Years ago, mon, november 1, 2021, 8:59:37

I have a mbox file, with 200 emails, each with 4 attachments.


I want to extract those emails to a folder for each email, the name of the folder would be the title of the email, inside the folder a html file with the message, and all the attachments.


Is there a way to do that, using python, or a program?


More From » files

 Answers
1

If you are confortable with python , sou can use , https://docs.python.org/3/library/mailbox.html .


[#3153] Tuesday, November 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iriousutur

Total Points: 321
Total Questions: 112
Total Answers: 106

Location: Sweden
Member since Mon, Dec 7, 2020
3 Years ago
iriousutur questions
Sun, Apr 9, 23, 02:48, 1 Year ago
Tue, May 23, 23, 00:41, 1 Year ago
Fri, Oct 21, 22, 02:47, 2 Years ago
Mon, May 9, 22, 00:01, 2 Years ago
;