Skip to content

Releases: TeamMsgExtractor/msg-extractor

Version 0.38.3

03 Dec 08:12
53b7845

Choose a tag to compare

Version 0.38.3 Pre-release
Pre-release

v0.38.3

  • Fixed issues in HTML generation that caused line breaks to be omitted from large sections of the text.
  • Fixed issues with requirements file.

Version 0.38.2

01 Dec 10:14
6a383e5

Choose a tag to compare

Version 0.38.2 Pre-release
Pre-release

v0.38.2

  • Fixed new NameError accidentally introduced in the previous version.

Version 0.38.1

01 Dec 10:05
8036b1e

Choose a tag to compare

Version 0.38.1 Pre-release
Pre-release

v0.38.1

  • Added a __del__ method to MSGFile to ensure a bit of proper cleanup should all references to an MSGFile instance be removed before the file is closed. OleFileIO doesn't appear to have one, so it's up to us to ensure it is properly closed. Note that the del keyword does not guarantee the immediate deletion of the object, and you should take care to close the file yourself. If this is not possible, importing the gc module and using it's collect method will free the files if your code has no references to them.
  • Fixed an import issue with signed messages.

Version 0.38.0: The OLE Writer Update

30 Nov 07:34
18506fb

Choose a tag to compare

Pre-release

While the update doesn't add many features, it adds one of the features that has been requested since about the time I joined the module 4 years ago: The ability to extract embedded MSG files as .msg files. This is one of the more important milestones.

v0.38.0

  • [TeamMsgExtractor #117] Added class OleWriter to allow the writing of OLE files, which allows for embedded MSG files to be extracted.
  • Added function MSGFile.export which copies all streams and storages from an MSG file into a new file. This can "clone" an MSG file or be used for extracting an MSG file that is embedded inside of another.
  • Added hidden function to MSGFile for getting the OleDirectoryEntry for a storage or stream. This is mainly for use by the OleWriter class.
  • Added option extractEmbedded to Attachment.save (--extract-embedded on the command line) which causes embedded MSG files to be extracted instead of running their save methods.
  • Fixed minor issues with utils.inputToMsgPath (renamed from utils.inputToMsgpath).
  • Renamed utils.msgpathToString to utils.msgPathToString.
  • Made some of the module requirements a little more strict to better version control. I'll be trying to make periodic checks for updates to the dependency packages and make sure that new versions are compatible before changing the allowed versions, while also trying to keep the requirements a bit flexible.

Version 0.37.1

28 Nov 06:40
e725171

Choose a tag to compare

Version 0.37.1 Pre-release
Pre-release

v0.37.1

  • Added option to save function (including MSGFile.saveAttachments) to skip any attachments marked as hidden. This can also be done from the command line with --skip-hidden.
  • Fixed an issue that could cause an MSGFile to be included in the attachment names instead of just strings.
  • Fixed up several comments.
  • Fixed bug that would cause spaces at the end of the subject or filename to break the module.

Version 0.37.0

18 Nov 04:37
d730787

Choose a tag to compare

Version 0.37.0 Pre-release
Pre-release

v0.37.0

  • [TeamMsgExtractor #303] Renamed internal variable that wasn't changed when the other instances or it were renamed.
  • [TeamMsgExtractor #302] Fixed properties missing (a fatal MSG error) raising an unclear exception. It now uses InvalidFileFormatError.
  • Updated README to contain documentation on command line option added in previous version.
  • Removed MSGFile.mainProperties after deprecating it in v0.36.0.
  • Added new Properties Intelligence type: ERROR. This type is used when a properties instance is created but has something wrong with it that is not necessarily fatal. Currently the only thing that will cause it is the properties stream being 0 bytes.

Version 0.36.5

06 Nov 02:07
f112d14

Choose a tag to compare

Version 0.36.5 Pre-release
Pre-release

v0.36.5

  • Documented and exposed to the command line the ability to save the headers to it's own file when saving the msg file. Thanks to martin-mueller-cemas on GitHub for fixing this (and telling me I can switch the branch a pull request points to). I don't know when I added the code to allow the user to do it, but somehow it was never documented and never exposed to the command line.

Version 0.36.4

01 Oct 03:12
7ed4223

Choose a tag to compare

Version 0.36.4 Pre-release
Pre-release

v0.36.4

  • [TeamMsgExtractor #291] Fixed typo in MSGFile.saveRaw that may have existed for a significant amount of time. It was using the wrong function (same name, but with different capitalization) but was hidden until MSGFile stopped being derived from OleFileIO.
  • Added logging code to MessageBase.getSavePdfBody to log the list that is going to be used to run wkhtmltopdf. This is mainly for debugging purposes, to allow users to potentially see why their arguments may be failing.
  • Updating funding information on GitHub and the README with more ways to support the module's development.
  • Fixed one of the exceptions in MessageBase.getSavePdfBody not using an fstring which caused it to omit information.
  • Changed the way wkhtmltopdf is called to patch a possible security vulnerability. This also seems to have fixed [TeamMsgExtractor #291].

Version 0.36.3

29 Aug 21:04
d3b6a43

Choose a tag to compare

Version 0.36.3 Pre-release
Pre-release

v0.36.3

  • Added an option to skip the body if it could not be found, rather than throwing an error. This will cause no file to be made for it in the event no valid body exists. For the save functions, this option is skipBodyNotFound and from the command line the option is --skip-body-not-found.
  • Fixed a bug that caused contacts to save the business phone with two colons instead of 1.

Version 0.36.2

12 Aug 15:26
20aa32e

Choose a tag to compare

Version 0.36.2 Pre-release
Pre-release

v0.36.2