Documentation
¶
Overview ¶
Package postmark submits through Postmark's single-email API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
HTTP email.HTTPConfig
ServerToken secret.String
MessageStream string
}
Config configures Postmark HTTP transport, server token, and message stream.
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver submits email through the Postmark API.
func (*Driver) Close ¶
func (d *Driver) Close()
Close closes the driver's HTTP client; a nil driver is harmless.
func (*Driver) Send ¶
Send submits a structured message to Postmark and classifies provider rejection or uncertain acceptance.
func (*Driver) StructuredSubmission ¶
StructuredSubmission reports that this provider API sends native fields, so the mailer skips MIME rendering.
Click to show internal directories.
Click to hide internal directories.