MCPcopy
hub / github.com/pocketbase/pocketbase / Mailer

Interface Mailer

tools/mailer/mailer.go:27–30  ·  view source on GitHub ↗

Mailer defines a base mail client interface.

Source from the content-addressed store, hash-verified

25
26// Mailer defines a base mail client interface.
27type Mailer interface {
28 // Send sends an email with the provided Message.
29 Send(message *Message) error
30}
31
32// SendInterceptor is optional interface for registering mail send hooks.
33type SendInterceptor interface {

Callers 8

sendMethod · 0.65
SendRecordAuthAlertFunction · 0.65
SendRecordOTPFunction · 0.65
SendRecordPasswordResetFunction · 0.65
SendRecordVerificationFunction · 0.65
SendRecordChangeEmailFunction · 0.65
sendSystemAlertFunction · 0.65
NewMailClientMethod · 0.65

Implementers 2

Sendmailtools/mailer/sendmail.go
SMTPClienttools/mailer/smtp.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…