sendgrid

package
v0.0.0-...-bea708c Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExternal = errors.New("sendgrid_external: failed to send email")

Functions

This section is empty.

Types

type Client

type Client interface {
	SendTemplate(ctx context.Context, subject string, to []Email, templateID string, templateData map[string]interface{}, attachments []mail.Attachment) error
}

func NewClient

func NewClient(apiKey, fromName, fromEmail string) Client

type Email

type Email mail.Email

Jump to

Keyboard shortcuts

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