MCPcopy Index your code
hub / github.com/dnote/dnote / SendEmail

Method SendEmail

pkg/server/mailer/backend.go:32–32  ·  view source on GitHub ↗
(templateType, from string, to []string, data interface{})

Source from the content-addressed store, hash-verified

30// Backend is an interface for sending emails.
31type Backend interface {
32 SendEmail(templateType, from string, to []string, data interface{}) error
33}
34
35// EmailDialer is an interface for sending email messages

Callers 3

SendWelcomeEmailMethod · 0.65

Implementers 3

DefaultBackendpkg/server/mailer/backend.go
StdoutBackendpkg/server/mailer/backend.go
MockEmailbackendImplementationpkg/server/testutils/main.go

Calls

no outgoing calls

Tested by

no test coverage detected