EnvelopeFlow.Integrations.Transports
0.1.0-alpha.3.1
dotnet add package EnvelopeFlow.Integrations.Transports --version 0.1.0-alpha.3.1
NuGet\Install-Package EnvelopeFlow.Integrations.Transports -Version 0.1.0-alpha.3.1
<PackageReference Include="EnvelopeFlow.Integrations.Transports" Version="0.1.0-alpha.3.1" />
<PackageVersion Include="EnvelopeFlow.Integrations.Transports" Version="0.1.0-alpha.3.1" />
<PackageReference Include="EnvelopeFlow.Integrations.Transports" />
paket add EnvelopeFlow.Integrations.Transports --version 0.1.0-alpha.3.1
#r "nuget: EnvelopeFlow.Integrations.Transports, 0.1.0-alpha.3.1"
#:package EnvelopeFlow.Integrations.Transports@0.1.0-alpha.3.1
#addin nuget:?package=EnvelopeFlow.Integrations.Transports&version=0.1.0-alpha.3.1&prerelease
#tool nuget:?package=EnvelopeFlow.Integrations.Transports&version=0.1.0-alpha.3.1&prerelease
EnvelopeFlow.Integrations.Transports
Optional adapters connect typed provider messages to the durable dispatcher. DeliveryPayloads.Email, .Sms and .Push snapshot payloads as JSON and declare their capabilities. Email/SMS providers are resolved from the target's trusted full scope; the host supplies those resolver delegates. Push bridges require a live registration store and freshness policy, verify serialized owner equality and provider identity, reject stale revisions before sending and apply provider invalidation with compare-and-swap.
Email/SMS text and metadata require valid Unicode before JSON snapshotting. Malformed UTF-16 is rejected with a sanitized error, preventing replacement fallback from changing submitted content or aliasing its admission identity. Literal replacement characters, valid surrogate pairs and existing optional fields remain supported; provider-specific mailbox, sender and media policies are still applied by the selected transport.
Push bridges also require IGuardedPushTransport and use the binding wrapper's final live check after awaited credentials and before provider HTTP. All supplied push providers and nested binding wrappers support it. Unsupported custom transports fail during bridge construction. A stale or unavailable check prevents HTTP, preserving definite rejection evidence; changes after the final check or after HTTP starts cannot retract provider work. No callback is persisted in delivery JSON.
These adapters do not create HTTP endpoints, configure auth, publish packages, store conversation history or retry uncertain provider submissions. Operational JSON contains addresses, bodies and device tokens and must be protected by the application's database/retention policy. Do not log it.
var smtpBridge = new EmailDeliveryTransport("email.smtp", scopedEmailResolver,
DeliveryCapabilities.Text | DeliveryCapabilities.Html | DeliveryCapabilities.Attachments);
var pushBridge = new PushDeliveryTransport(apnsTransport, pushRegistrationStore,
TimeSpan.FromDays(30), timeProvider);
var dispatcher = new DeliveryDispatcher(deliveryStore, [smtpBridge, pushBridge]);
var target = DeliveryPayloads.Push(pushBridge.Name, queuedPushRequest);
await dispatcher.AdmitAsync(new DeliveryRequest(trustedOwner.Scope, applicationIdempotencyKey,
[target], now, now.AddHours(1)), cancellationToken);
Email HTML/text support defaults on; attachment support requires an explicit capability selection so callers can represent a provider that does not support MIME attachments. SMS media/replies capabilities are configured to match the chosen provider. Bridges advertise only configured capabilities and validate requirements before admission. Firebase/APNs acceptance and SMTP acceptance remain submission acknowledgments. Unknown results never become retryable rejections.
Email/SMS transport resolution failures and cancellation observed before SendAsync starts are definite rejections without automatic retry. Once the provider send starts, an escaping interruption remains Unknown. Resolver delegates select application-owned transports; they must not submit messages themselves.
MMS may contain media without a text body. Media-only payloads require DeliveryCapabilities.Media; a caption also requires Text. Select the bridge's media capability and a provider with MMS support. Empty messages without media, null bodies and invalid media remain rejected before admission. Ordinary text/caption payloads keep their existing serialized representation and capability values.
Firebase rich options are included in the immutable push payload snapshot. Reopened durable work retains the exact options and owner/revision; a later registration refresh still rejects stale queued work. Legacy payloads without firebase continue to deserialize. Unknown fields, invalid URL/identifier options and use with another provider fail before sending; payload errors are sanitized. Retryable Firebase refusals retain dispatcher retry advice and Retry-After floors, while interrupted/Unknown sends remain non-retryable automatically.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- EnvelopeFlow.Delivery.Abstractions (>= 0.1.0-alpha.3.1)
- EnvelopeFlow.Email.Abstractions (>= 0.1.0-alpha.3.1)
- EnvelopeFlow.Push.Abstractions (>= 0.1.0-alpha.3.1)
- EnvelopeFlow.Sms.Abstractions (>= 0.1.0-alpha.3.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.3.1 | 43 | 11/22/2026 |
| 0.1.0-alpha.2.1 | 56 | 11/9/2026 |