email

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailContent

type MailContent email.Email

content:

func (*MailContent) ToMail

func (m *MailContent) ToMail() *email.Email

type Mailer

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

func NewMailer

func NewMailer(opt *Option) *Mailer

func (*Mailer) Send

func (m *Mailer) Send(toAddr string, mail *MailContent) error

type Option

type Option struct {
	Identity string
	Email    string
	Password string
	Host     string
}

option:

Jump to

Keyboard shortcuts

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