note 66983 added to function.mail
| From: | bgardner at iprocorp dot com | Date: | Thu, 01 Jun 2006 22:36:43 +0000 |
| Subject: | note 66983 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112842@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 216.194.113.175
Probable Submitter: 206.169.207.38
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/note/edit/66983
Del: integrated -- http://master.php.net/note/delete/66983/integrated
Del: useless -- http://master.php.net/note/delete/66983/useless
Del: bad code -- http://master.php.net/note/delete/66983/bad+code
Del: spam -- http://master.php.net/note/delete/66983/spam
Del: non-english -- http://master.php.net/note/delete/66983/non-english
Del: in docs -- http://master.php.net/note/delete/66983/in+docs
Del: other reasons-- http://master.php.net/note/delete/66983
Reject -- http://master.php.net/note/reject/66983
Search -- http://master.php.net/manage/user-notes.php