mail

package
v0.0.0-...-c09411c Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	Header textproto.MIMEHeader
	Name   string
	Body   io.Reader
}

type Message

type Message struct {
	Subject string

	From mail.Address
	To   []mail.Address
	CC   []mail.Address
	BCC  []mail.Address

	Header textproto.MIMEHeader

	Body string

	Attachments []Attachment
}

func (Message) WriteTo

func (m Message) WriteTo(w io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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