'Content-Type' problem

[email protected] Thu, 22 Apr 2004 04:33:32 +0200
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
Hello.


In the following code:

    $body = Mail::Message::Body::Lines->new( 'data' => @lines ) ;
    $msg->body( $body->encode( 'mime_type' => 'text/html',
                                                 'charset' => 'UTF-8',
                                                 'transfer_encoding' => 'quoted-printable' ) ) ;

the 'mime_type' and 'charset' attribute seemed to be ignored: Whatever I write,
the mail always contains:
    Content-Type: text/plain; charset="us-ascii"

Did I overlook something?


Best regards,

Gilles
-- 
Please consider using encrypted mail.
53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641