Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. # Mailcatcher fix for vagrant
  2.  
  3. 1. Edit the sudo vi /etc/php5/<ANY_VERSION>/fpm/php.ini
  4. ```
  5. smtp = 192.168.50.5
  6. smtp_port = 1025
  7. ```
  8.  
  9. 2. Restart php-fpm `restart php5-fpm `
  10.  
  11. 3. Run mailcatcher from vagrant with the following `mailcatcher --ip 192.168.50.4`
  12.  
  13. 4. Verify that vvv.dev:1080 is running
  14.  
  15. 5. install your WordPress site the SMTP plugin
  16.  
  17. 6. Set the host `192.168.50.4` and the port `1025`
  18.  
  19. 7. All set send some test mails
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement