mail

package
v0.0.0-...-d0ab41e Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	SendgridClient *sendgrid.Client
	From           *mail.Email
	ReportTo       *mail.Email
}

func NewClient

func NewClient(apiKey, senderName, senderEmail, reportEmail string) Client

func (*Client) SendMail

func (c *Client) SendMail(subject, to, body string) error

func (*Client) SendReconcileReport

func (c *Client) SendReconcileReport(report reconcile.Report) error

Jump to

Keyboard shortcuts

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