email

package
v0.0.0-...-9a826e6 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectInviteEmailSubject = "ToDanni Project Invitation"
)

Variables

View Source
var (
	Sender = mail.NewEmail("ToDanni Notification", "no-reply@todanni.com")
)

Functions

This section is empty.

Types

type DashboardInviteEmail

type DashboardInviteEmail struct {
}

type ProjectInviteEmail

type ProjectInviteEmail struct {
	ProjectName    string
	RecipientName  string
	RecipientEmail string
}

type SenderClient

type SenderClient interface {
	SendProjectInvitationEmail(email ProjectInviteEmail) error
	SendDashboardInvitationEmail() error
}

func NewEmailClient

func NewEmailClient(config config.Config) SenderClient

Jump to

Keyboard shortcuts

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