Documentation ¶
Overview ¶
Package mail provides implementations of the Fleet MailService
Index ¶
Constants ¶
View Source
const ( PortSSL = 465 PortTLS = 587 )
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService() kolide.MailService
Types ¶
type ChangeEmailMailer ¶
func (*ChangeEmailMailer) Message ¶
func (cem *ChangeEmailMailer) Message() ([]byte, error)
type InviteMailer ¶
type InviteMailer struct { *kolide.Invite BaseURL template.URL AssetURL template.URL InvitedByUsername string OrgName string }
InviteMailer is used to build an email template for the invite email.
func (*InviteMailer) Message ¶
func (i *InviteMailer) Message() ([]byte, error)
type PasswordResetMailer ¶
type PasswordResetMailer struct { // Base URL to use for Fleet endpoints BaseURL template.URL // URL for loading image assets AssetURL template.URL // Token password reset token Token string }
func (PasswordResetMailer) Message ¶
func (r PasswordResetMailer) Message() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.