goemail

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailConfig

type EmailConfig struct {
	Host     string
	Port     string
	User     string
	Password string
}

func (EmailConfig) SendEmail

func (email EmailConfig) SendEmail(to string, subject string, body string) error

SendEmail to 发送给谁 例子 发送多人用分号间隔 "111@qq.com;222@qq.com;333@qq.com" subject 邮件的主题 body 邮件主要内容

Jump to

Keyboard shortcuts

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