php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25556 mail function looses characters
Submitted: 2003-09-16 08:03 UTC Modified: 2003-09-16 09:45 UTC
From: te at mxu dot de Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.3.3 OS: Win32 (w2k)
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: te at mxu dot de
New email:
PHP Version: OS:

 

 [2003-09-16 08:03 UTC] te at mxu dot de
Description:
------------
hello,

i encountered a problem when sending mails longer than approx. 1K. mail (and imap_mail) seem to loose characters every 1k. this happend after upgrading to 4.3.3 (from 4.0.?or so)

greetings from munich

thorsten engel

Reproduce code:
---------------
$body = '';

for ($i=0; $i<100; $i++)
{
	for ($j=0; $j<76; $j++)
		$body .= 'a';
	$body.="\r\n";
}

mail ("te@mxu.de","subj",$body);
imap_mail ("te@mxu.de","subjimap",$body);

Expected result:
----------------
aaaaa (76 chars per line)
aaaaa
aaaaa
aaaaa
aaaaa
aaaaa

Actual result:
--------------
aaaaa (some lines only have 75 chars!!)
aaaaa
aaaa
aaaaa
aaaaa

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-16 09:45 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Try search the bug database BEFORE you submit any report.
This was fixed long time ago.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC