MCPcopy
hub / github.com/pocketbase/pocketbase / Sendmail

Struct Sendmail

tools/mailer/sendmail.go:20–22  ·  view source on GitHub ↗

Sendmail implements [mailer.Mailer] interface and defines a mail client that sends emails via the "sendmail" *nix command. This client is usually recommended only for development and testing.

Source from the content-addressed store, hash-verified

18//
19// This client is usually recommended only for development and testing.
20type Sendmail struct {
21 onSend *hook.Hook[*SendEvent]
22}
23
24// OnSend implements [mailer.SendInterceptor] interface.
25func (c *Sendmail) OnSend() *hook.Hook[*SendEvent] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected