ryanb / letter_opener

Preview mail in the browser instead of sending.
MIT License
3.73k stars 237 forks source link

Could letter_opener be used for previewing SMS text messages? #210

Closed drsharp closed 8 months ago

drsharp commented 9 months ago

Hi!

I've been a long-time fan / user of letter_opener. The company I work for has a Rails app that sends out notifications to users, sometimes as emails and sometimes as SMS/Text messages (via Twilio).

We use letter_opener in local development but it only works for the emails. Has there ever been interest in expanding it to support SMS/Text previews as well?

Just curious. Cheers!

nashby commented 8 months ago

Hey @drsharp!

That sounds like a good idea but I don't something straightforward as stubbing mailer in Rails since Rails doesn't have any unified API for sending text/sms messages. So it means it should be something that is built for specific gems as twillio, etc.