MCPcopy Index your code
hub / github.com/coder/coder / NewBackend

Function NewBackend

coderd/notifications/dispatch/smtptest/server.go:46–50  ·  view source on GitHub ↗
(cfg Config)

Source from the content-addressed store, hash-verified

44}
45
46func NewBackend(cfg Config) *Backend {
47 return &Backend{
48 cfg: cfg,
49 }
50}
51
52// NewSession is called after client greeting (EHLO, HELO).
53func (b *Backend) NewSession(c *smtp.Conn) (smtp.Session, error) {

Callers 3

TestSMTPFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestSMTPFunction · 0.74