mail

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

Package mail provides a mail client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender interface {
	// Send sends email to the given recipients.
	Send(ctx context.Context, to []string, cc []string, bcc []string, subject string, body string, file ...string) error
	// SendTo sends email to the given recipients.
	SendTo(ctx context.Context, to []string, subject string, body string, file ...string) error
}

Sender is an interface for sending email

Jump to

Keyboard shortcuts

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