Preview hanami emails in browser21 May 2016
Sometimes you need to preview your emails in development enviroment.
For this you can use use letter_opener gem.
Because hanami uses mail gem,
letter_opener integration will be easy.
Firstly you need add gem to your Gemfile:
Secondly you need add new delivery method to your
After that when you deliver your email,
letter_opener will generate html files that users will see in