#20056 [Fbk->Opn]: mail() hangs when e-mail is too big.
| From: | webmaster at a-display dot net | Date: | Fri, 25 Oct 2002 10:59:13 +0000 |
| Subject: | #20056 [Fbk->Opn]: mail() hangs when e-mail is too big. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23293@lists.php.net to get a copy of this message | ||
ID: 20056
User updated by: webmaster@a-display.net
Reported By: webmaster@a-display.net
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Windows XP Pro
PHP Version: 4.2.3
New Comment:
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".
Previous Comments:
------------------------------------------------------------------------
[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