mail

package
v0.0.45 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 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 {
	Addr                                          string
	FromName, From, Subject, ContentType, Content string
	To                                            []string
	Auth                                          smtp.Auth
}

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

func (*Mail) GenMsg

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

func (*Mail) SendMail

func (m *Mail) SendMail() error

func (*Mail) SendMailTLS

func (m *Mail) SendMailTLS() error

Jump to

Keyboard shortcuts

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