mail

package
v0.0.0-...-069ff91 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SendgridMailer

type SendgridMailer struct {
	ApiKey       string
	Endpoint     string
	Host         string
	MessageTypes map[papers.MessageType]string
}

func NewSendgridMailer

func NewSendgridMailer(apiKey string) *SendgridMailer

func (SendgridMailer) AddMessageType

func (s SendgridMailer) AddMessageType(msgType papers.MessageType, templateID string)

func (SendgridMailer) Send

Send an e-mail

Jump to

Keyboard shortcuts

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