php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13972 mail cc: and FATAL: emalloc()
Submitted: 2001-11-07 06:12 UTC Modified: 2001-11-10 12:13 UTC
From: Daria Elias <dariaelias at hotmail dot com> Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-11-07 06:12 UTC] Daria Elias <dariaelias at hotmail dot com>
setup:
apache 1.3.20
php 4.0.6 (announced it self as 4.0.5 in phpinfo?)
php.ini:
 SMTP = linux
 sendmail_from = w2k@windows

p.php:
<?
 print("foobar");
 mail (
   "user1@linux, root@linux,",
   "test subject",
   "test mailer\n",
   "From: WebMaster <webmaster@linux>\nx-header: php mailer\nTo: User One <user1@linux>, root <root@linux>\nCc: user2@linux\n"
 );
?>

calling it failed and leads to
error.log:
FATAL:  emalloc():  Unable to allocate -86918290 bytes

so long.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-07 06:16 UTC] Daria Elias <dariaelias at hotmail dot com>
addon to setup
MTA: postfix-20010228pl04-29

 [2001-11-10 12:13 UTC] sander@php.net
It seems you've upgraded from 4.0.5 to 4.0.6. You should copy php4ts.dll from the 4.0.6-distribution to c:\winnt\system32\ and overwrite any older file (which will probably be the php4ts.dll from 4.0.5).
Closing this report. Reopen if the problem still exists.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC