Documentation ¶
Index ¶
- type PostmarkClient
- func (s *PostmarkClient) IsValid() bool
- func (c *PostmarkClient) SendExpiringTokenEmail(ctx context.Context, emails []string, data email.ExpiringTokenEmailData) error
- func (c *PostmarkClient) SendTenantInviteEmail(ctx context.Context, to string, data email.TenantInviteEmailData) error
- func (c *PostmarkClient) SendTenantResourceLimitAlert(ctx context.Context, emails []string, data email.ResourceLimitAlertData) error
- func (c *PostmarkClient) SendWorkflowRunFailedAlerts(ctx context.Context, emails []string, data email.WorkflowRunsFailedEmailData) error
- type VerifyEmailData
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 ¶ added in v0.25.0
func (s *PostmarkClient) IsValid() bool
func (*PostmarkClient) SendExpiringTokenEmail ¶ added in v0.30.0
func (c *PostmarkClient) SendExpiringTokenEmail(ctx context.Context, emails []string, data email.ExpiringTokenEmailData) error
func (*PostmarkClient) SendTenantInviteEmail ¶
func (c *PostmarkClient) SendTenantInviteEmail(ctx context.Context, to string, data email.TenantInviteEmailData) error
func (*PostmarkClient) SendTenantResourceLimitAlert ¶ added in v0.31.0
func (c *PostmarkClient) SendTenantResourceLimitAlert(ctx context.Context, emails []string, data email.ResourceLimitAlertData) error
func (*PostmarkClient) SendWorkflowRunFailedAlerts ¶ added in v0.25.0
func (c *PostmarkClient) SendWorkflowRunFailedAlerts(ctx context.Context, emails []string, data email.WorkflowRunsFailedEmailData) error
type VerifyEmailData ¶
type VerifyEmailData struct {
ActionURL string `json:"link" mapstructure:"action_url"`
}
Click to show internal directories.
Click to hide internal directories.