Connecting Tech Pros Worldwide Forums | Help | Site Map

Extra parameter in sendmail_path creating problem

rizwan6feb's Avatar
Member
 
Join Date: Jul 2007
Posts: 106
#1: Jul 8 '08
I having problem in sending email from my server.

On using the following statement
Expand|Select|Wrap|Line Numbers
  1. echo ini_get("sendmail_path");
  2.  
I receive the following output
/usr/sbin/sendmail -t -i -f user1@mydomain.com

Which looks strange to me. My administrator says there is only "/usr/sbin/sendmail -t -i" written in the php.ini file against sendmail_path, so why is that variable modified automatically?

Running scripts from command line (as root) works, but no email is sent when i run the script from my browser

Reply