Help us shape the future of Go! Take the 2026 Go Developer Survey

postmark

package
v0.112.14 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostmarkClient

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

func NewPostmarkClient

func NewPostmarkClient(serverKey, fromEmail, fromName, supportEmail string) *PostmarkClient

NewPostmarkClient creates a new client which sends emails through Postmark

func (*PostmarkClient) IsValid

func (c *PostmarkClient) IsValid() bool

func (*PostmarkClient) SendExpiringTokenEmail

func (c *PostmarkClient) SendExpiringTokenEmail(ctx context.Context, emails []string, data email.ExpiringTokenEmailData) error

func (*PostmarkClient) SendTemplateEmail

func (c *PostmarkClient) SendTemplateEmail(ctx context.Context, to, templateAlias string, templateModelData interface{}, bccSupport bool) error

func (*PostmarkClient) SendTemplateEmailBCC

func (c *PostmarkClient) SendTemplateEmailBCC(ctx context.Context, bcc, templateAlias string, templateModelData interface{}, bccSupport bool) error

func (*PostmarkClient) SendTenantInviteEmail

func (c *PostmarkClient) SendTenantInviteEmail(ctx context.Context, to string, data email.TenantInviteEmailData) error

func (*PostmarkClient) SendTenantResourceLimitAlert

func (c *PostmarkClient) SendTenantResourceLimitAlert(ctx context.Context, emails []string, data email.ResourceLimitAlertData) error

func (*PostmarkClient) SendWorkflowRunFailedAlerts

func (c *PostmarkClient) SendWorkflowRunFailedAlerts(ctx context.Context, emails []string, data email.WorkflowRunsFailedEmailData) error

Jump to

Keyboard shortcuts

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