note 66983 deleted from function.mail by nlopess

From: Date: Thu, 01 Jun 2006 22:40:16 +0000
Subject: note 66983 deleted from function.mail by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-112843@lists.php.net to get a copy of this message
Note Submitter: bgardner at iprocorp dot com ---- Variable names seem to be case sensitive in PHP. We're running PHP v5.0.4 on Windows Server 2003/IIS 6, migrating an existing installation from a server running Windows 2000 Server SP6. We're using the Sendmail utility found at http://www.glob.com.au/sendmail/ for mail functionality. The mail forms weren't working. We were getting "Could not execute mail delivery program in..." PHP errors. The IT staff was pulling its hair out going over IIS 6 and php.ini minutiae. Finally I noticed a variable name in the email form page that had a capital letter where it was defined and a lower-case when in was used in the mail() function. I fixed the capitalization and all is well. Beware.

« previous php.notes (#112843) next »