gem install mailcatcher
mailcatcher
brew services restart php54
nginx -s reload
- Go to http://mail.dev/
Created
November 12, 2015 21:22
-
-
Save Tom-Alexander/8f8869729fd4245c33f9 to your computer and use it in GitHub Desktop.
Mailcatcher config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 8080; | |
server_name mail.dev "~mail\.(.*)\.xip\.io$"; | |
location / { | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header Host $http_host; | |
proxy_pass http://127.0.0.1:1080; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sendmail_path = /usr/bin/env /usr/bin/catchmail -f test@local.dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment