# MailHog

# Step 1: Installation

# Step 2: Configuring Hanami Mailer



 



 





# config/environment.rb
# ...
Hanami.configure do
  environment :development do
    # ...

    mailer do
      delivery :smtp, address: "localhost", port: 1025
    end
  end
end
1
2
3
4
5
6
7
8
9
10
11

# Mail preview

TODO: http://blog.davydovanton.com/2016/05/21/preview-hanami-emails-in-browser/