Re: 'Content-Type' problem

[email protected] Fri, 23 Apr 2004 21:52:13 +0200
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
> quick work-around, you may consider to add a
>  $msg->get('Content-Type')->attribute(charset => 'UTF-8');
> after your message is constructed.
> 

You forgot the 'head' method call:
  $msg->head->get( 'Content-Type' )->attribute( 'charset' => 'utf-8' ) ;
[Otherwise: Can't locate object method "attribute" via package "text/plain"]

Many thanks.

Gilles