email

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSender

type MockSender struct {
	Body string
}

func (*MockSender) Send

func (s *MockSender) Send(from string, to []string, subject, body, _ string) error

type SMTPSender

type SMTPSender struct {
	Config config.SMTPConfig
}

func (*SMTPSender) Send

func (s *SMTPSender) Send(from string, to []string, subject, body, replyTo string) error

type Sender

type Sender interface {
	Send(from string, to []string, subject, body, replyTo string) error
}

Sender Sender.

Jump to

Keyboard shortcuts

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