email

package
v0.0.0-...-4673371 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: EUPL-1.2 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailSender

type EmailSender interface {
	SendMultipartEmail(ctx context.Context, address string, subject string, html string, text string) error
}

func NewConsoleEmailSender

func NewConsoleEmailSender(senderName, sender string) EmailSender

func NewSendGridEmailSender

func NewSendGridEmailSender(apiKey, senderName, sender string) EmailSender

Jump to

Keyboard shortcuts

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