Documentation
¶
Overview ¶
Package smtp is a Sender backed by any SMTP server (net/smtp).
This is the portable backend: every provider speaks SMTP, and a local catch-all (MailHog, Mailpit) speaks it too. For a free transactional path that accepts a personal sender without a verified domain, see the brevo backend instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender delivers messages through one SMTP server. Safe for concurrent use: net/smtp opens a fresh connection per Send.
Click to show internal directories.
Click to hide internal directories.