remail

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

README

rose-email

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmpty

func IsEmpty(s string) bool

func IsNotEmpty

func IsNotEmpty(s string) bool

Types

type GoMail

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

func NewGoMail

func NewGoMail(host string, port int, userName, passWord string) *GoMail

func (*GoMail) SendHtml

func (r *GoMail) SendHtml(html string) error

func (*GoMail) SendStr

func (r *GoMail) SendStr(str string) error

func (*GoMail) SetDebug

func (r *GoMail) SetDebug(debug bool) *GoMail

func (*GoMail) SetFrom

func (r *GoMail) SetFrom(addr string) *GoMail

func (*GoMail) SetFromFormat

func (r *GoMail) SetFromFormat(addr, name string) *GoMail

func (*GoMail) SetSubject

func (r *GoMail) SetSubject(s string) *GoMail

func (*GoMail) SetTo

func (r *GoMail) SetTo(addr string) *GoMail

func (*GoMail) SetTos

func (r *GoMail) SetTos(addr []string) *GoMail

Jump to

Keyboard shortcuts

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