generalsmtp

package
v0.0.0-...-df7706a Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenMailer

func OpenMailer(ctx context.Context, addr string, auth smtp.Auth, opts ...hedwig.MailerOptionFn) (*hedwig.Mailer, error)

Types

type Mailer

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

func (*Mailer) SendMail

func (c *Mailer) SendMail(ctx context.Context, from mail.Address, to []mail.Address, m *hedwig.Mail) error

Jump to

Keyboard shortcuts

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