|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-21 18:13 UTC] jimw at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 16:00:01 2025 UTC |
the following script crashes php3 when trying to send a mail: <? mail("japj@oce.nl","Test Mail","Some text"); ?> building a debug build of PHP3 shows that SendText in "win32\sendmail.c" uses the headers variable in a strstr action. Unfortunately when not specifying the optional headers parameter in mail() the headers variable is NULL and this crashes PHP3. WORKAROUND at the moment is to do the following: <? mail("japj@oce.nl","Test Mail","Some text",""); ?>