Menu

Part 5: After the Dispatch - Handling Delivery Events
📰

Part 5: After the Dispatch - Handling Delivery Events

DEV Community: csharp·Jeremy·7 days ago
#eW19Go3M
#devtocsharp#devto#dev#provider#twilio
Reading 0:00
15s threshold

Part 4 ended on one word in the Communications logs:

[Email:Simulation.Email:Dispatched] ... [Sms:Simulation.Sms:Dispatched] ... [Push:Simulation.Push:Dispatched] ...

Enter fullscreen mode

Exit fullscreen mode

Dispatched means a provider accepted the message. It doesn't mean anyone received it.

With the simulator the two happen together. With a real provider they don't. Twilio accepts an SMS and returns a message id straight away, then reports back as the message moves along: queued, sent, delivered, or undelivered because the handset was unreachable. Email providers report bounces and opens. Push services report invalid tokens.

Those updates are worth keeping. Support wants to know whether the customer really got the order confirmation. Engineering wants to know which provider is failing.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.