mail

package
v0.0.0-...-b8d87c7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	// SendMail 包含三个参数:
	// to 接收方地址
	// text 邮件内容
	// subject 邮件主题
	SendMail(types.M) error
}

Adapter ...

type SMTPMailAdapter

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

SMTPMailAdapter ...

func NewSMTPAdapter

func NewSMTPAdapter() *SMTPMailAdapter

NewSMTPAdapter ...

func (*SMTPMailAdapter) SendMail

func (s *SMTPMailAdapter) SendMail(object types.M) error

SendMail ...

Jump to

Keyboard shortcuts

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