Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Plugin = taskplugin.New("email", "0.2", exec, taskplugin.WithConfig(validConfig, Config{}), ) )
the email plugin send email
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SMTPUsername string `json:"smtp_username"` SMTPPassword string `json:"smtp_password"` SMTPPort string `json:"smtp_port"` SMTPHostname string `json:"smtp_hostname"` SMTPSkipTLSVerify string `json:"smtp_skip_tls_verify,omitempty"` // contains filtered or unexported fields }
Config is the configuration needed to send an email
Click to show internal directories.
Click to hide internal directories.