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.
| 18 | // |
| 19 | // This client is usually recommended only for development and testing. |
| 20 | type Sendmail struct { |
| 21 | onSend *hook.Hook[*SendEvent] |
| 22 | } |
| 23 | |
| 24 | // OnSend implements [mailer.SendInterceptor] interface. |
| 25 | func (c *Sendmail) OnSend() *hook.Hook[*SendEvent] { |
nothing calls this directly
no outgoing calls
no test coverage detected