MCPcopy Create free account
hub / github.com/corestoreio/pkg / NewDaemon

Function NewDaemon

email/daemon.go:246–269  ·  view source on GitHub ↗

NewDaemon creates a new mail sending daemon to send to a SMTP server. Per default it uses localhost:25, creates an unbuffered channel, uses the config.DefaultManager, applies the admin scope (0) and sets the SMTP timeout to 30s.

(c config.Scoped, opts ...DaemonOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

SetOptionsMethod · 0.95
IsOfflineMethod · 0.95
SetSendFuncFunction · 0.85
NewMethod · 0.65

Tested by

no test coverage detected