Documentation ¶ Index ¶ func Close(client *smtp.Client) type Config func Open(config *Config) (*Config, error) func (config *Config) SendEmail(subject, body string, to string) error func (config *Config) SendMultipleEmail(subject, body string, to []string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Close ¶ func Close(client *smtp.Client) Types ¶ type Config ¶ type Config struct { EmailClient *smtp.Client SmtpServer string SmtpPort string From string LicenseCode string Type string } func Open ¶ func Open(config *Config) (*Config, error) func (*Config) SendEmail ¶ func (config *Config) SendEmail(subject, body string, to string) error func (*Config) SendMultipleEmail ¶ func (config *Config) SendMultipleEmail(subject, body string, to []string) error Source Files ¶ View all Source files email.go link.go Click to show internal directories. Click to hide internal directories.