direct_mail

package
v1.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(user, passwd, addr string, opts ...Option) *Client

func (*Client) SendEmail

func (c *Client) SendEmail(subject, mailType, body string, to, cc, bcc []string, opts ...Option) error

SendEmail 发送邮件 to: 收件人地址 cc: 抄送地址 bcc: 密送地址

type Option

type Option func(*Client)

func From added in v1.0.11

func From(from string) Option

Jump to

Keyboard shortcuts

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