mail

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail interface {
	Send(email, title, userID string, body []byte) error
}

func NewMailProvider

func NewMailProvider(mailDriver string) (Mail, error)

NewMailProvider returns a SMTP mail provider with connection string. Eg, smtp://username:password@example.com:25

Jump to

Keyboard shortcuts

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