Click here to Skip to main content
15,745,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I installed postfix for sending mails to the customer from my PHP application. I wrote this in php.ini file
sendmail_path = /usr/sbin/sendmail -t -i

didn't work then I changed it to
sendmail_path = /etc/postfix

Can anybody tell why it's not working. I checked mail logs it's status is mail sent. It doesn't show mail is delivered. Anymore changes I need to do in /etc/postfix/ file? Pls help

What I have tried:

sendmail_path = /etc/postfix
Updated 14-Apr-22 22:18pm

1 solution

Let's modify the existing path with:

sendmail_path = /usr/sbin/sendmail -t -i -f
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900