mail

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mail provides adapters for types in the standard net/mail package.

The types and functions in this package aren't usually used direction and instead are used implicitly by installing adapters on objconv.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressAdapter

func AddressAdapter() objconv.Adapter

AddressAdapter returns the adapter to encode and decode mail.Address values.

func AddressListAdapter

func AddressListAdapter() objconv.Adapter

AddressListAdapter returns the adapter to encode and decode []*mail.Address values.

The adapter uses a string representation of the mail address list, in cases where the serialized form has to be an actual array of strings the program should use []mail.Address (no pointers).

Types

This section is empty.

Jump to

Keyboard shortcuts

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