MCPcopy
hub / github.com/dnote/dnote / DefaultBackend

Struct DefaultBackend

pkg/server/mailer/backend.go:48–51  ·  view source on GitHub ↗

DefaultBackend is an implementation of the Backend that sends an email without queueing. This backend is always enabled and will send emails via SMTP.

Source from the content-addressed store, hash-verified

46// that sends an email without queueing.
47// This backend is always enabled and will send emails via SMTP.
48type DefaultBackend struct {
49 Dialer EmailDialer
50 Templates Templates
51}
52
53type dialerParams struct {
54 Host string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected