ID: 11779
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Old-Status: Closed
Status: Bogus
Bug Type: Mail related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
user error -> bogus
Previous Comments:
---------------------------------------------------------------------------
[2001-07-04 05:36:53] [EMAIL PROTECTED]
It wasn't a bug.
I placed the php.ini in winntsystem32, not in winnt.
Now it's on the right place and it works.
Sorry, best wishes for php.
Sven Runge
---------------------------------------------------------------------------
[2001-06-28 10:22:16] [EMAIL PROTECTED]
If i change the count of parameters to two, I get this Result:
--- line before mail function ---
Warning: Wrong parameter count for mail() in C:Inetpubwwwrootphprootmail.php on line
17
--- line after mail function ---
Best regards
Sven Runge
---------------------------------------------------------------------------
[2001-06-28 10:05:14] [EMAIL PROTECTED]
Hello!
i hope its really a bug and not a documentation problem, but I did'nt found a way to
solve the problems in several php web sites, manuals or newsgroups :-(
My system:
Windows 2000
PHP 4.0.6 (win32 binary downloaded from php.net)
Apache 1.3.12 an IIS (Win2000-included)
I used both! webservers on different ports, I got exactly the same result!
I want to create a mail while using this code:
-------------------------------------
<script language="php">
echo ("--- line before mail function ---");
mail ("[EMAIL PROTECTED]", "PHP mail test","test mail body");
echo ("--- line after mail function ---");
</script>
-------------------------------------
I got this result:
--------------------------------------
--- line before mail function ---
Warning: Unknown error in C:Inetpubwwwrootphprootmail.php on line 17
--- line after mail function ---
In the php.ini I changed the SMTP entry several times. I could change it in a valid,
an invalid mailserver or i commentet it out (;SMTP = ]), I always got the same result.
For me It seems that the php engine ignores the SMTP entry.
I didn't got help in the php newsgroups, so I think it is'nt a simple problem.
So I hope you can help me.
Best regards
Sven Runge, Germany
----------------------------------------
E-Mail: [EMAIL PROTECTED]
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11779&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]