Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMailboxDoesNotExist = errors.New("mailbox does not exist") ErrUnknownSender = errors.New("unknown 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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.