Bug fix
| From: | Julius Šmatavičius | Date: | Tue, 04 Mar 2008 15:13:38 +0000 |
| Subject: | Bug fix | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-49264@lists.php.net to get a copy of this message | ||
Hello,
i found an error in mail mime package.
All mailers do not add ";" at the end of mime, and some mailers cant understand file name.
$header = " {$name}{$secondAsterisk}=\"{$value}\"; ";//was
$header = " {$name}{$secondAsterisk}=\"{$value}\"";//should be
$headers = implode(MAIL_MIMEPART_CRLF, $headers) . ';';//was
$headers = implode(MAIL_MIMEPART_CRLF, $headers);//should be
//was
Content-Type: application/octet-stream; name="license.php";
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="license.php";
//should be
Content-Type: application/octet-stream; name="license.php"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="license.php"
--
Sincerely Yours, Julius Šmatavičius
Senior developer
Verticus, UAB
Totorių str. 21 - 11, LT-01121
Vilnius, Lithuania
Phone. +370 5 276 2176
Mob. phone. +370 604 14048
Fax. +370 5 2031001
Email: julius.smatavicius@verticus.lt
http://www.verticus.lt