Re: Issues with Mail_mimedecode and mail templates
| From: | Dan Rossi | Date: | Wed, 12 Oct 2005 04:54:09 +0000 |
| Subject: | Re: Issues with Mail_mimedecode and mail templates | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21378@lists.php.net to get a copy of this message | ||
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;Ok I used a program called flip, it converted the files to unix newline, should i tell the mail_mime people ?$params['crlf'] = "\r\n";$decoder = new Mail_mimeDecode($mailtext); $this->email_template = $decoder->decode($params);