Re: Bug fix
| From: | Philippe Jausions | Date: | Wed, 05 Mar 2008 14:47:00 +0000 |
| Subject: | Re: Bug fix | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49265@lists.php.net to get a copy of this message | ||
Julius,
Please file a bug report with the Mail_MIME package.
Thanks,
-Philippe
Julius Šmatavičius wrote:
> 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"
>