Versions in this module Expand all Collapse all v3 v3.1.0 Jun 11, 2019 v3.0.0 Jun 10, 2019 Changes in this version + func IsValidEmailAddress(email string) bool + type Config struct + Host string + Password string + Port int + UserName string + type IMailService interface + Connect func() error + Send func(mail ...*Mail) error + type Mail struct + Body string + From *Person + Subject string + To []*Person + type MailService struct + Config *Config + Dialer *gomail.Dialer + Sender gomail.SendCloser + func NewMailService(config *Config) *MailService + func (s *MailService) Connect() error + func (s *MailService) Send(mail ...*Mail) error + type Person struct + EmailAddress string + Name string Other modules containing this package github.com/app-nerds/kit/v4 github.com/app-nerds/kit/v5 github.com/app-nerds/kit/v6