On Mon Apr 06 04:07:39 2009, alexmv@mit.edu wrote:
Show quoted text> On Mon, 2009-04-06 at 00:24 -0400, Dan Moore via RT wrote:
> > Net::IMAP::Server::Message attempts to use the method "header_raw"
> on objects of type
> > Email::Simple::Header in many places. That method doesn't exist -
> at least, not anymore in the
> > most recent version. Simply replacing "header_raw" with "header"
> worked to fix it for me.
>
> The objects are of type Email::MIME, not Email::Simple (at least, they
> should be), and the header_raw method was added in Email::MIME version
> 1.862 -- I've bumped the dependency accordingly. Does upgrading to
> the
> latest Email::MIME (and reverting your header_raw -> header changes)
> solve the problem?
> Alternately, does installing 1.14 (on its way to CPAN as we speak)
> force an updated Email::MIME, fixing the problem?
Thanks for your fast response!
I was already running Email::MIME 1.863.
I updated, and now I'm getting this error:
Can't locate object method "header_raw" via package "Email::MIME" at
/opt/local/lib/perl5/site_perl/5.8.9/Net/IMAP/Server/Message.pm line 485.
Incidentally, I love your signature/tagline.
I just double checked the logs, and that was the same error I was getting before.
The documentation for Email::MIME 1.863 shows that there's no header_raw:
http://search.cpan.org/~rjbs/Email-MIME-1.863/lib/Email/MIME.pm
Nor in 1.862:
http://search.cpan.org/~rjbs/Email-MIME-1.862/lib/Email/MIME.pm
Thanks!
BTW, I love your signature/tagline.