mail

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 6 Imported by: 0

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

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