#26706 [Opn->Bgs]: To-String is cutted at byte 2048

From: Date: Tue, 30 Dec 2003 15:16:12 +0000
Subject: #26706 [Opn->Bgs]: To-String is cutted at byte 2048
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52609@lists.php.net to get a copy of this message
ID: 26706 Updated by: sniper@php.net Reported By: phred at priest dot com -Status: Open +Status: Bogus Bug Type: Mail related Operating System: Linux SuSe 9.0 PHP Version: 4.3.4 New Comment: RTFM: "Note: The to parameter should not be an address in the form of "Something <someone@example.com>". The mail command may not parse this properly while talking with the MTA (Particularly under Windows)." Previous Comments: ------------------------------------------------------------------------ [2003-12-23 07:57:23] phred at priest dot com Description: ------------ In function mail($to, $subject, $body, $header): If string $to is bigger than 2048, it is cutted there.. When setting $to = "Harker Tetter<harker@tetter.com>, Sarter Berker<sarter@berker.com>, ..." then it will be eventually cutted in between two < > so the mail won't be delivered. RFC says, that the maximum length of a line in a mail is 512 bytes so php should meet this RFC norm by cutting the to-string appropriatly. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26706&edit=1

« previous php.bugs (#52609) next »