gomsgextractor

package module
v0.0.0-...-a5ee19c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 8 Imported by: 0

README

goMSGExtractor

With this command line tool you can extract attachments from microsoft outlook .msg files.

I completely rewrite the code. Now it uses the "github.com/richardlehane/mscfb" package.

The old version use parts of github.com/JacThomp/docstract. Now it was removed from this project.

Dependencies

github.com/richardlehane/mscfb

Build

For linux binaries you can use the ./build.sh script.

Alternatively: In the cmd directory type go build -o gomsgextractor

Usage

Usage: gomsgextractor <msg-file> <output-dir>

Todo

  • Write unit tests
  • Extract from multiple files

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeUTF16String

func DecodeUTF16String(b []byte) string

decodeUTF16String decode UTF-16LE-Bytes into a go string

func ExtractAttachments

func ExtractAttachments(msgFile string, outDir string) error

ExtractAttachments extract all attachments from a .msg file und speichert sie im angegebenen Ausgabeverzeichnis.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL