package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 28, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func InitSMTPDialer(host, username, password string, port int)
type Context struct {
ToList []Role `json:"to_list"`
CcList []Role `json:"cc_list"`
BccList []Role `json:"bcc_list"`
Subject string `json:"subject"`
Body string `json:"body"`
Path string `json:"path"`
}
type Role struct {
Name string `json:"name"`
Address string `json:"address"`
}
type SMTPDialer struct {
Host string `ini:"host"`
Port int `ini:"port"`
Username string `ini:"username"`
Password string `ini:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.