MCPcopy Create free account
hub / github.com/foxcpp/maddy / statusWrapper

Struct statusWrapper

internal/endpoint/smtp/session.go:497–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497type statusWrapper struct {
498 sc smtp.StatusCollector
499 s *Session
500}
501
502func (sw statusWrapper) SetStatus(rcpt string, err error) {
503 sw.sc.SetStatus(rcpt, sw.s.endp.wrapErr(sw.s.msgMeta.ID, !sw.s.opts.UTF8, "DATA", err))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected