←back to thread

298 points mooreds | 3 comments | | HN request time: 0.429s | source
1. ldthorne ◴[] No.42179649[source]
Does anyone know of a similar tool for catching SMS messages in local/development environment? My company uses mailtrap[0] in our development environments to give engineers and product managers a tool to preview emails that would otherwise be sent to users and we're looking for a similar tool for the SMS messages that we send via Twilio. I'd love to have a shared "inbox" per-development environment where PMs can see all the SMS messages that would have been sent (namely to whom the message was sent + the content of the SMS). Ideally it'd hook into whatever Twilio SDK your app is using to send messages (Python, in our case) to intercept calls and route them to the sandbox instead.

It seems like Twilio played with this idea with the Twilio Dev Phone project[1] but that project doesn't seem to be actively maintained.

[0] https://mailtrap.io [1] https://github.com/twilio-labs/dev-phone

replies(2): >>42181483 #>>42183881 #
2. yenoham ◴[] No.42181483[source]
This is what Mailosaur[0] offers - countries available depends on tiers though due to the number operating costs and associated regulations.

[0] https://mailosaur.com

3. e12e ◴[] No.42183881[source]
Not the same thing, bit VCR and variants can help with testing external api calls (see "ports to other languages"):

https://github.com/vcr/vcr