smtpmail

package
v0.0.0-...-ffaa3c7 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 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 SMTPMail

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

func NewMailProvider

func NewMailProvider(listenAddr string) *SMTPMail

func (*SMTPMail) RegisterRoute

func (s *SMTPMail) RegisterRoute(i burner.Inbox) (string, error)

RegisterRoute is redundant in this instance as we're not calling to an external service to register a callback instead we will receive all email and then be asking our db directly if we should accept this email or not.

func (*SMTPMail) Start

func (s *SMTPMail) Start(websiteAddr string, db burner.Database, r *mux.Router, isBlacklistedDomain func(string) bool) error

func (*SMTPMail) Stop

func (s *SMTPMail) Stop() error

Jump to

Keyboard shortcuts

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