Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidEmailAddress ¶
IsValidEmailAddress returns true/false if a provided email address is valid
Types ¶
type IMailService ¶
IMailService provides an interface describing a service for working with email
type MailService ¶
type MailService struct { Config *Config Dialer *gomail.Dialer Sender gomail.SendCloser }
MailService provides methods for working with email
func NewMailService ¶
func NewMailService(config *Config) *MailService
NewMailService creates a new instance of MailService
func (*MailService) Connect ¶
func (s *MailService) Connect() error
Connect establishes a connections to an SMTP server
Click to show internal directories.
Click to hide internal directories.