mailersmtp

package
v0.0.0-...-57fdbbf Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailerSMTP

type MailerSMTP struct {
	RootPath string
	User     string
	Password string
	Host     string
	Port     string
}

MailerSMTP MailerSMTP

func (*MailerSMTP) Send

func (m *MailerSMTP) Send(view interface{}) (bool, error)

Send Send

type Request

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

Request Request

func NewRequest

func NewRequest(to []string, subject, body string) *Request

NewRequest NewRequest

func (*Request) ParseTemplate

func (r *Request) ParseTemplate(templateFileName string, data interface{}) error

ParseTemplate ParseTemplate

Jump to

Keyboard shortcuts

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