You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2007/08/19 18:26:28 UTC

Re: Access RAW email from plugin in method check_end

Nicolas Fertig writes:
> Hello,
> 
> Is there a way to access RAW email (Full email with all headers and mime 
> content) from a plugin in the method "check_end" ?
> 
> Sample:
> 
> sub check_end
> {
>   my ($self, $params, $fulltext) = @_;
>  # the $fulltext does not exists in this method....
>  return 0;
> }

yep -- use $params->{permsgstatus}->get_message() and use the
methods on that Mail::SpamAssassin::Message object.

--j.