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) SendTenantInviteEmail ¶
func (c *PostmarkClient) SendTenantInviteEmail(ctx context.Context, to string, data email.TenantInviteEmailData) error
type VerifyEmailData ¶
type VerifyEmailData struct {
ActionURL string `json:"link" mapstructure:"action_url"`
}
Click to show internal directories.
Click to hide internal directories.