Versions in this module Expand all Collapse all v0 v0.22.1 Nov 22, 2026 v0.22.0 Nov 21, 2026 v0.21.0 Nov 21, 2026 Changes in this version + type NoopSender struct + func NewNoopSender(log *logger.Logger) *NoopSender + func (n *NoopSender) SendInvitation(_ context.Context, inv *user.Invitation, _ string) error + type SMTPConfig struct + AppDisplayName string + FromEmail string + FromName string + Host string + InviteAcceptURL string + Password string + Port int + Username string + type SMTPSender struct + func NewSMTPSender(cfg SMTPConfig, log *logger.Logger) (*SMTPSender, error) + func (s *SMTPSender) SendInvitation(_ context.Context, inv *user.Invitation, inviterEmail string) error + type Sender interface + SendInvitation func(ctx context.Context, inv *user.Invitation, inviterEmail string) error