# MailHog
# Step 1: Installation
- Refer to the steps on MailHog
# 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
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/
← Cache Misconceptions →