MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / SMTP

Struct SMTP

pkg/email/smtp/smtp.go:33–40  ·  view source on GitHub ↗

SMTP is the type that implements SMTP as email provider.

Source from the content-addressed store, hash-verified

31
32// SMTP is the type that implements SMTP as email provider.
33type SMTP struct {
34 ctx context.Context
35 logger log.Interface
36 emailConfig email.Config
37 smtpConfig Config
38 dialer *gomail.Dialer
39 tasks chan sendTask
40}
41
42func (s *SMTP) handle() {
43 for {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected