-----Original Message-----
From: jma...@gmail.com [mailto:jma...@gmail.com] On Behalf Of Justin Mason
Sent: dinsdag 31 maart 2009 13:27
To: Mark
Cc: users@spamassassin.apache.org
Subject: Re: Using 'get_pristine_header' in HeaderEval.pm

Thanks, Jason.

> can you paste the exact code to a pastebin? 

Sure. Here it is:

> that error message doesn't match the code; $self->{msg} is not a
> "Mail::SpamAssassin::Plugin::HeaderEval" object.

That's because I used "$self->{msg}" from a sub that worked earlier (see
pastebin). So, the question the becomes, how do I get access to the
'get_pristine_header' info there?

I also let a sub start like:

  my ($self, $pms) = @_;
  my $header = $pms->get_pristine_header ();

That doesn't work, either. I'm sure the solution is simple. I just can't
find it. :)

Reply via email to