ryanb / letter_opener

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

Allow messages to be rendered without headers, container, metadata, etc. #138

Closed benjamin-hull closed 7 years ago

benjamin-hull commented 7 years ago

Addresses Issues #131 and #111

This works by allowing the template to be specified in the message initialisation. I've made the previous template the default, and added a 'message_only' template which just renders the message body.

nashby commented 7 years ago

@beejamin hey, thanks for the PR! It looks awesome but there's one thing I'm not sure about. It's configuration through ENV variables. Can we change that to some different way as using railtie or something?

nashby commented 7 years ago

Closing in favour #143