MCPcopy Index your code
hub / github.com/foxcpp/maddy / SetStatus

Method SetStatus

framework/module/partial_delivery.go:44–44  ·  view source on GitHub ↗

SetStatus sets the error associated with the recipient. rcptTo should match exactly the value that was passed to the AddRcpt, i.e. if any translations was made by the target, they should not affect the rcptTo argument here. It should not be called multiple times for the same value of rcptTo. It al

(rcptTo string, err error)

Source from the content-addressed store, hash-verified

42 // SetStatus is goroutine-safe. Implementations
43 // provide necessary serialization.
44 SetStatus(rcptTo string, err error)
45}
46
47// PartialDelivery is an optional interface that may be implemented

Callers 5

BodyNonAtomicMethod · 0.65
LMTPDataMethod · 0.65
SetStatusMethod · 0.65
SetStatusMethod · 0.65
BodyNonAtomicMethod · 0.65

Implementers 2

statusWrapperinternal/endpoint/smtp/session.go
statusCollectorinternal/msgpipeline/msgpipeline.go

Calls

no outgoing calls

Tested by

no test coverage detected