Sendmail on Azure VM

Thanks Arsenio.

1. Install Sendmail
sudo apt-get install sendmail

2. Configure Sendmail (if needed) I use YES on all options being asked.
sudo sendmailconfig

3. Update all occurrences of php.ini. Locate the line with the sendmail_path. It should look like this:
sendmail_path = “env -i /usr/sbin/sendmail -t -i”

4. Restart Apache and PHP FPM
sudo /opt/bitnami/ctlscript.sh restart apache
sudo /opt/bitnami/ctlscript.sh restart php-fpm

Advertisements