#20056 [Opn->Bgs]: mail() hangs when e-mail is too big.
| From: | iliaa@php.net | Date: | Mon, 28 Oct 2002 13:57:56 +0000 |
| Subject: | #20056 [Opn->Bgs]: mail() hangs when e-mail is too big. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23553@lists.php.net to get a copy of this message | ||
ID: 20056
Updated by: iliaa@php.net
Reported By: webmaster@a-display.net
-Status: Open
+Status: Bogus
Bug Type: Mail related
Operating System: Windows XP Pro
PHP Version: 4.2.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Sounds like a configuration issue with your Windows' SMTP server.
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 05:59:12] webmaster@a-display.net
The scripts no more hangs the machine, but ... does'nt work any more.
Outlook express cant't recognise the mime format.
The difference between the results of the same script on Linux/4.2.3
and XP/4.3 seem to be "\r\n\r\n" are changed to "\r\n".
I'm not sure, but i think the double /r/n/r/n was compulsory in some
cases to separate mime blocks
Tried "\r\n \r\n" instead, witch is not changed but it does not work.
Everything else "\r\n\r\n\n\r" ... is each time changed to "\r\n".
------------------------------------------------------------------------
[2002-10-24 08:23:05] sander@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-10-24 05:23:04] webmaster@a-display.net
This bug happends only on 4.2.3/Win XP/IIS, (developpement site) our
web site runs the scripts corectly on 4.2.3/Linux/Appache.
Whe have a function to send by e-mail a web page from our site,
including pictures (mime multipart) if used.
All works fine, but on our developpement system (XP/IIS) it seems that
only very small message works (2kb ok, 7 kb hangs)
To send mime compliant message all text is prepared in a single string
$mtext and sent with:
$is_sent=mail($to, $subject,"",$mtext);
result is a send a report bug window to microsoft after a 5 sec wait.
Printing text with flush() during script made us sure the bug is in the
mail function.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20056&edit=1