email

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMTPDialer

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

func NewSMTPDialer

func NewSMTPDialer(host string, port int, username string, password string) *SMTPDialer

func (*SMTPDialer) Send

func (s *SMTPDialer) Send(opt SendOption) error

type SendOption

type SendOption struct {
	FromAddr string
	FromName string
	ToAddr   string
	ToName   string
	CcAddr   string
	CcName   string
	Subject  string
	Body     string
	Attach   string
}

Jump to

Keyboard shortcuts

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