MCPcopy Create free account
hub / github.com/ethstorage/es-node / String

Method String

ethstorage/email/email.go:46–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (c EmailConfig) String() string {
47 return fmt.Sprintf(
48 "Username: %s\nHost: %s\nPort: %d\nTo: %s\nFrom: %s",
49 c.Username,
50 c.Host,
51 c.Port,
52 c.To,
53 c.From,
54 )
55}
56
57func SendEmail(emailSubject, msg string, config EmailConfig, lg log.Logger) error {
58 lg.Info("Sending email notification", "subject", emailSubject)

Callers 2

SendEmailFunction · 0.45
GetEmailConfigFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected