Documentation ¶
Overview ¶
Package notifications provides example email notifications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WelcomeEmailData ¶
type WelcomeEmailData struct { Name string Company string GuideID string // Optional: ID of welcome guide to attach }
WelcomeEmailData contains all data needed for welcome email
type WelcomeEmailSender ¶
type WelcomeEmailSender struct {
// contains filtered or unexported fields
}
WelcomeEmailSender handles welcome email specific operations
func NewWelcomeEmailSender ¶
func NewWelcomeEmailSender(mailer *mail.Mailer, guidesPath string) *WelcomeEmailSender
NewWelcomeEmailSender creates a new welcome email sender
func (*WelcomeEmailSender) Send ¶
func (s *WelcomeEmailSender) Send(to string, data WelcomeEmailData) error
Send sends a welcome email to a new user
Click to show internal directories.
Click to hide internal directories.