Send mail from localhost with PHP with MAMP
14.02.2018
Open php.ini file
$ nano /Applications/MAMP/bin/php/php7.1.1/conf/php.ini
Uncomment the next line and add path to sendmail
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i
