|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18145 Mail function sends only 4k
Submitted: 2002-07-03 13:59 UTC Modified: 2002-07-03 15:26 UTC
From: chrisleon at nicholasandco dot com Assigned:
Status: Closed Package: Mail related
PHP Version: 4.2.1 OS: FreeBSD 4.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: chrisleon at nicholasandco dot com
New email:
PHP Version: OS:


 [2002-07-03 13:59 UTC] chrisleon at nicholasandco dot com
I just upgraded to PHP 4.2.1, and the problem did not fix itself.  I submitted a bug about 10 minutes ago, and already received a reply saying that the later version fixed the problem.  This is what I submitted:

"I am running php 4.0.4 on FreeBSD 4.1    And I have written a script that opens a directory handle on /var/mail, so I can capture all of the pop accounts and there file sizes.  I have the results in an array and
run it through a for loop to display the results to page, and then send to email.  Well, it displays to page fine, but my email results are always 4 kilobytes worth of information.  It literally cuts off the text in the middle of one of the pop accounts.  I have other scripts that I
use with HTML form pages, and when I POST to those, I can email as much information as I want.  I have seen emails come across that were 7 or 8k.  Anyways, I have tried posting my question all of the place, and have unsuccessfull.  I have looked at the mail.php, php.ini, sendmail.php, and so on and so forth.  If you have any thoughts or suggestions, please email me back. 

Thank You.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-03 15:26 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 28 12:03:36 2021 UTC