mail

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	FromName, From, Subject, ContentType, Content string
	To                                            []string
}

550,Mailbox not found or access denied.是因为收件邮箱不存在

func (*Mail) GenMsg

func (m *Mail) GenMsg() []byte

func (*Mail) SendMail added in v1.6.0

func (m *Mail) SendMail(addr string, auth smtp.Auth) error

func (*Mail) SendMailTLS

func (m *Mail) SendMailTLS(addr string, auth smtp.Auth) error

Jump to

Keyboard shortcuts

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