Documentation ¶
Index ¶
Constants ¶
View Source
const ( NotificationSubject = "Endpoint Status Update" NotificationTemplate = "endpoint.update.html" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmtpClient ¶
type SmtpClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.SMTPConfiguration) (*SmtpClient, error)
func (*SmtpClient) SendEmailNotification ¶
func (s *SmtpClient) SendEmailNotification(email, logoURL, targetURL string, status datastore.EndpointStatus) error
Click to show internal directories.
Click to hide internal directories.