postmark

package
v0.120.24 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) SendMagicLinkEmail added in v0.116.14

func (c *PostmarkClient) SendMagicLinkEmail(ctx context.Context, to string, data email.MagicLinkEmailData) 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