mail

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeSender added in v0.5.0

func NewFakeSender() *fakeSender

NewFakeSender creates a new fakeSender

Types

type FakeMailEntity added in v0.5.0

type FakeMailEntity struct {
	Receivers []string
	Title     string
	Content   string
	IsHTML    bool
}

FakeMailEntity is a mail entity for the fake senders

type Sender added in v0.5.0

type Sender interface {
	Send(to []string, subject string, content string, isHTML bool) error
}

Sender is an email sender interface

func NewSender added in v0.5.0

func NewSender(cli client.Client) Sender

NewSender creates a new sender

Jump to

Keyboard shortcuts

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