mail

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dailer

type Dailer interface {
	Dial() (mail.SendCloser, error)
}

Dailer interface

type Sender

type Sender struct {
	Dailer Dailer
}

Sender can send emails

func New

func New(configDir, configName, configType string) (s *Sender, err error)

New sender constructor

func (*Sender) SendMails

func (s *Sender) SendMails(mails []*mail.Message) (notSended []*mail.Message, err error)

SendMails sends mails

Jump to

Keyboard shortcuts

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