SMTP is the type that implements SMTP as email provider.
| 31 | |
| 32 | // SMTP is the type that implements SMTP as email provider. |
| 33 | type 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 | |
| 42 | func (s *SMTP) handle() { |
| 43 | for { |
nothing calls this directly
no outgoing calls
no test coverage detected