notifications

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL