mailer

package
v0.0.0-...-8fa2ce1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMailer

type IMailer interface {
	Send(recipient, templateFile string, data interface{}) error
}

type Mailer

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

func New

func New(host string, port int, name string, password string, sender string) *Mailer

func (Mailer) Send

func (m Mailer) Send(recipient, templateFile string, data interface{}) error

Directories

Path Synopsis
// Package mockmailer is a generated GoMock package.
// Package mockmailer is a generated GoMock package.

Jump to

Keyboard shortcuts

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