How do I put a path to Sendmail in php script??

From: Date: Fri, 30 Nov 2001 00:27:38 +0000
Subject: How do I put a path to Sendmail in php script??
Groups: php.general 
Request: Send a blank email to php-general+get-76123@lists.php.net to get a copy of this message
The server that I am using has Sendmail in a different place than their path to php. Also, you have to run php scripts with a cgi magic line (#!/usr/bin/php). I am using the mail() function to send mail, but I don't know how to put the path to Sendmail into the script so that mail() finds it. Can someone help?

« previous php.general (#76123) next »