Bug description: Mail Cc header problem
| From: | (Simon Sander) | Date: | Thu, 12 Jul 2001 14:43:14 +0000 |
| Subject: | Bug description: Mail Cc header problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59838@lists.php.net to get a copy of this message | ||
From: simon@vizija.si
Operating system: Windows 2000 proffesional
PHP version: 4.0.6
PHP Bug Type: Mail related
Bug description: Mail Cc header problem
Hi,
In mail function on windows for windows paltform there is a nasty bug (I
think).
I'm trying to execute folowing code, but it crashes every time :(((
<?php
mail( "haha@hehe.com", "Subject test", "Body
test", "Cc: hihi@hehe.com\r\n" ) or die( "Cannot send
mail" );
?>
If I instead Cc (wich is right on windows) write cc (small caps), then mail
is sent, but without cc copy!! If I leave Cc (first letter Upper second
Lower) then I get this error message:
Warning: Server Error in C:\razvoj\slowwwenia\massmail\test.php on line 2
Cannot send mail
I have tested this on the Windows 2000 proffesional and IIS 5.0 with PHP
4.0.4pl1 installed as ISAPI module. I have tested it with PHP 4.0.6 too and
still didn't work :((
Is there any solution for this problem?
Thanks for any help
Simon