Skip to content

Instantly share code, notes, and snippets.

@mppatterson
Created November 13, 2014 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mppatterson/1737348341a501268530 to your computer and use it in GitHub Desktop.
Save mppatterson/1737348341a501268530 to your computer and use it in GitHub Desktop.
mailcatcher php.ini config with mailcatcher installed via rvm
SMTP = 0.0.0.0
smtp_port = 1025
sendmail_from = yourname@localhost
; Find catchmail path with "which catchmail"
sendmail_path = /usr/local/rvm/wrappers/ruby-1.9.3-p392@global/catchmail --ip 0.0.0.0 -f yourname@localhost
; Then run mailcatcher with:
; mailcatcher --ip=0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment