mime-extractor

command module
v0.0.0-...-9c0f825 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2014 License: MIT Imports: 4 Imported by: 0

README

mime-extractor

Overview

Simple tool to extract the subject of an email on STDIN and print the parsed MIME body as text. It prints the subject on the first line and body on subsequent lines to be compatible with disrupt.

Usage

On the command line:

cat foo.email | mime-extractor

or with procmail and disrupt for cheap push notifications:

:0
* ^(Cc|To).*foo@example.com
| $HOME/bin/mime-extractor | $HOME/bin/cli-notifier

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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