Error running script mailbox2html
Alain Veylit <[email protected]> Fri, 11 Mar 2005 15:24:18 -0800
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I get the error below when I run the mailbox2html script. This script is
the closest to what I am actually trying to do: write a script to read
incoming messages on a particular account, reformat them to an XML
format that can be used to directly upload the mail to our main database
system.
So close and yet so far... It seems it should be a breeze with these
Mail::Box tools to format mail from a UNIX mbox to a standard XML
document - and more useful than reformatting to HTML - Has anyone come
across that idea already?
Alain
#-------------------------------------------------------------
Method setLabel() is not defined for a Mail::Box::Mbox::Message.
Mail::Reporter::AUTOLOAD('Mail::Box::Mbox::...','clean_id','4230BFB8-2070307-...','filename'
,'/var/tmp/mail2htm...','subject','Mail::Message::Fi...') called at
/usr/local/lib/perl5/site_perl/5
.8.0/Mail/Message/Construct.pm line 61
Mail::Message::AUTOLOAD('Mail::Box::Mbox::...','clean_id','4230BFB8-2070307-...','filename',
'/var/tmp/mail2htm...','subject','Mail::Message::Fi...') called at
scripts/mailbox2html line 244
main::create_message('message','Mail::Box::Mbox::...','folder','Mail::Box::Mbox=H...','manag
er','Mail::Box::Manage...','dirname','/var/tmp/mail2html/') called at
scripts/mailbox2html line 197
main::create_folder('dest','/var/tmp/mail2html','folder','Mail::Box::Mbox=H...')
called at s
cripts/mailbox2html line 395