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

Method BodyNonAtomic

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

BodyNonAtomic is similar to Body method of the regular Delivery interface with the except that it allows target to reject the body only for some recipients by setting statuses using passed collector object. This interface is preferred by the LMTP endpoint and queue implementation to ensure correct

(ctx context.Context, c StatusCollector, header textproto.Header, body buffer.Buffer)

Source from the content-addressed store, hash-verified

55 // This interface is preferred by the LMTP endpoint and queue implementation
56 // to ensure correct handling of partial failures.
57 BodyNonAtomic(ctx context.Context, c StatusCollector, header textproto.Header, body buffer.Buffer)
58}

Callers 3

DoTestDeliveryNonAtomicFunction · 0.65
LMTPDataMethod · 0.65
BodyNonAtomicMethod · 0.65

Implementers 2

testTargetDeliveryPartialinternal/testutils/target.go
msgpipelineDeliveryinternal/msgpipeline/msgpipeline.go

Calls

no outgoing calls

Tested by

no test coverage detected