email

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMailboxDoesNotExist    = errors.New("mailbox does not exist")
	ErrUnknownSender          = errors.New("unknown sender")
	ErrUnauthorizedSender     = errors.New("unauthorized sender")
	ErrOutboundNotEnabled     = errors.New("sending not enabled on this mailbox")
	ErrRecipientsMissing      = errors.New("recipients missing")
	ErrInvalidEmail           = errors.New("email address is invalid")
	ErrEmptySubject           = errors.New("empty subject")
	ErrEmptyEmailBody         = errors.New("empty email body")
	ErrAttachmentDoesNotExist = errors.New("attachment does not exist")
	ErrScheduledSendNotValid  = errors.New("invalid scheduled for time")
	ErrInvalidSender          = errors.New("invalid sender")
)

Functions

func NewEmailService

func NewEmailService(
	repositories *repository.Repositories,
) interfaces.EmailService

func ValidateEmailAddress

func ValidateEmailAddress(email *string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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