maildir

package
v0.0.0-...-cc6473a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaildirMailet

type MaildirMailet struct {
	// contains filtered or unexported fields
}

MaildirMailet is a handler that stores the received mails in a Maildir directory.

func New

func New(dir string) *MaildirMailet

New creates and returns a new MaildirMailet that writes mails to the provided directory.

func (*MaildirMailet) Handle

func (mm *MaildirMailet) Handle(m *mailet.Mail) error

Jump to

Keyboard shortcuts

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