mail

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(o *Options) error

Types

type Options

type Options struct {
	MailHost  string
	MailPort  int
	MailUser  string   // 发件人
	MailPass  string   // 发件人密码
	MailTo    string   // 收件人 多个用,分割
	MailToArr []string // 收件人 优先用这个,MailToArr > MailTo
	Subject   string   // 邮件主题
	Body      string   // 邮件内容
}

Jump to

Keyboard shortcuts

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