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

Method SetStatus

internal/endpoint/smtp/session.go:502–504  ·  view source on GitHub ↗
(rcpt string, err error)

Source from the content-addressed store, hash-verified

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))
504}
505
506func (s *Session) LMTPData(r io.Reader, sc smtp.StatusCollector) error {
507 s.msgLock.Lock()

Callers

nothing calls this directly

Calls 2

wrapErrMethod · 0.80
SetStatusMethod · 0.65

Tested by

no test coverage detected