On Sun, Jan 07, 2007 at 12:41:45AM +0200, vb wrote:
>  my $msg = new MIME::Lite(
>       From => $from,
>       To => $emal,
>       Subject => $subj,
>       Type => 'TEXT',
>       Data => $out
>    );
> $msg->attr("Content-type" => "text/html;charset=utf-8");

Does MIME::Lite parse the content type and encode the data?  I would
think you would need to do:

    Data => encode_utf8( $out ),

Octavian, for $c->email I use Email::MIME to create multi-part
messages.  I set the charset attribute and use encode_utf8() for the
body.  Then pass an array reference to the "parts" part when calling
$c->email.


-- 
Bill Moseley
[EMAIL PROTECTED]


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to