vmbx

package module
v0.0.0-...-76acd09 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

HP TRIM VMBX Email Format

This is a library and command line tool for working with HP TRIM VMBX email files. You can use this tool for extracting attachments and converting VMBX files to EML.

Install

From source:

go get github.com/srnsw/vmbx/cmd

Or get a precompiled Windows 64-bit binary from the releases page.

To use the mail conversion function you also need to install a siegfried signature file on your computer (normally in a "siegfried" folder within your home directory). See siegfried for more information.

Usage

To extract attachments from a VMBX file, or set of files:

vmbx -dump FILE or DIR

To convert a VMBX file, or set of files, to EML format, do:

vmbx -mail FILE or DIR

If you haven't installed the siegfried signature file in a "siegfried" folder within your home directory, you can specify an alternate location with the "-sig" flag:

vmbx -sig "c:\default.sig" -mail FILE or DIR

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	Name          string
	Extension     string
	Size          int64
	EncodedOffset int64
	EncodedSize   int64
	// contains filtered or unexported fields
}

func (*Attachment) Reader

func (a *Attachment) Reader(decode bool) (io.Reader, error)

type VMBX

type VMBX struct {
	Headers map[string][]string
	Keys    []string
	// contains filtered or unexported fields
}

func New

func New(r io.ReadSeeker) (*VMBX, error)

func (*VMBX) Attachments

func (v *VMBX) Attachments() []*Attachment

func (*VMBX) Body

func (v *VMBX) Body() (io.Reader, error)

func (*VMBX) Mail

func (v *VMBX) Mail(w io.Writer, sfLoc string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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