mail

package
v0.0.0-...-30b4a77 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mail implements email input messages in Mute.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(r io.Reader) (
	recipient string,
	message string,
	err error,
)

Parse parses a MIME encoded email for sending with Mute. It returns the intended recipient (parsed from mandatory the 'To' field) and the actual message (combined from the optional 'Subject field' plus the message body). It cannot handle attachments and/or multi-part messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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