sendgrid

package module
v0.0.0-...-9d8ded8 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	APIKey string
}

Options is SendGrid options.

type SendGrid

type SendGrid struct {
	// contains filtered or unexported fields
}

SendGrid is a client for https://sendgrid.com/

func New

func New(o *Options) *SendGrid

New creates a new SendGrid.

func (*SendGrid) Send

func (s *SendGrid) Send(m *mailer.Mail) error

Jump to

Keyboard shortcuts

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