Re: Issues with Mail_mimedecode and mail templates
| From: | Justin Patrin | Date: | Wed, 12 Oct 2005 05:22:15 +0000 |
| Subject: | Re: Issues with Mail_mimedecode and mail templates | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21379@lists.php.net to get a copy of this message | ||
On 10/11/05, Dan Rossi <pear@electroteque.org> wrote:
>
> On 12/10/2005, at 2:27 PM, Dan Rossi wrote:
>
> > Ok thanks for your help Justin, your code worked, ill have to convert
> > the lines somehow, also there has been changes in mimeDecode this is
> > the version that works now, not the send array version
> >
> > $params['include_bodies'] = true;
> > $params['decode_bodies'] = true;
> > $params['decode_headers'] = true;
> > $params['crlf'] =
> > "\r\n";
> >
> > $decoder = new Mail_mimeDecode($mailtext);
> > $this->email_template =
> > $decoder->decode($params);
> >
>
> Ok I used a program called flip, it converted the files to unix
> newline, should i tell the mail_mime people ?
>
Yes, create a bug to let them know that their code doesn't take into
account Mac newlines and include my new regex (and let them know I did
it ;-)).
--
Justin Patrin