Documentation ¶
Index ¶
Constants ¶
View Source
const (
// CharSet The character encoding for the email.
CharSet = "UTF-8"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string Port string Username string Password string Driver string Region string }
Config for mailer
type Mail ¶
type Mail interface { From(string, string) Mail To(...string) Mail Cc(...string) Mail Subject(string) Mail Body(string) Mail Send() (interface{}, error) }
Mail for smtp or ses interface
var Client Mail
Client for mail interface
type SMTP ¶
type SMTP struct {
// contains filtered or unexported fields
}
SMTP setting
func SMTPEngine ¶
SMTPEngine initial smtp object
Click to show internal directories.
Click to hide internal directories.