Documentation
¶
Overview ¶
Package email provides email notification support.
Index ¶
Constants ¶
View Source
const ProviderType = "email"
ProviderType defines the type of the email notification provider.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
SMTPServer string `json:"smtpServer"`
SMTPPort int `json:"smtpPort"`
SMTPIdentity string `json:"smtpIdentity"` // usually empty, most servers use username/password
SMTPUsername string `json:"smtpUsername"`
SMTPPassword string `json:"smtpPassword"`
From string `json:"from"`
To string `json:"to"`
CC string `json:"cc"`
Format string `json:"format"` // format of the message, must be "html" or "md"
}
Options defines email notification provider options.
Click to show internal directories.
Click to hide internal directories.