sender

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSESSender

type AWSSESSender struct {
	Timeout int16
	// contains filtered or unexported fields
}

func NewAWSSESSender

func NewAWSSESSender(timeout int16) *AWSSESSender

func (*AWSSESSender) Send

func (s *AWSSESSender) Send(email *model.Email) error

type MailjetSender

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

func NewMailjetSender

func NewMailjetSender(mjApikeyPublic string, mjApikeyPrivate string, baseURL string) *MailjetSender

func (*MailjetSender) Send

func (s *MailjetSender) Send(email *model.Email) error

type SMTPSender

type SMTPSender struct {
	Addr string
	// contains filtered or unexported fields
}

func NewSMTPSender

func NewSMTPSender(addr string, client *sasl.Client) *SMTPSender

func (*SMTPSender) Send

func (s *SMTPSender) Send(email *model.Email) error

type Sender

type Sender interface {
	Send(email *model.Email) error
}

Jump to

Keyboard shortcuts

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