mbox

package module
v0.0.0-...-4ebc996 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: MIT Imports: 10 Imported by: 0

README

go-mbox

GoDoc Build Status

Command to extract all emails from a nested ZIP archive containing mbox files. Useful for exporting emails from Google Vault.

To install/update:

GO111MODULE=on go get github.com/Shamus03/go-mbox/cmd/mboxzip2json

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	From      string
	To        string
	CC        string
	Subject   string
	Body      string
	Timestamp time.Time
}

Email is an email extracted from the file.

func ExtractFile

func ExtractFile(path string) ([]Email, error)

ExtractFile extracts all emails from a zip file.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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