mail

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 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) 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