Question : Postfix sendmail_path in php.ini

I've recently switched from using sendmail to postfix on my Ubuntu server.

Originally when I used sendmail my sendmail_path was :
sendmail_path = /usr/sbin/sendmail -t -i

Now that I've installed postfix the sendmail path is still /usr/sbin/sendmail but I'm wondering if I should still include -t -i

Answer : Postfix sendmail_path in php.ini

Just use the following instead of sendmail_path:

SMTP = localhost
smtp_port = 25

comment out the sendmail specific information with a ";" before the line.
Random Solutions  
 
programming4us programming4us