Hi Dave,

That's most likely the case. But I'm not sure what's going in there and how
to get rid of it. I tried with and without chomp() but got the same results.
below is a snippet with chomp, which I applied before parsing the email with
spamassassin.

my $spamtest = Mail::SpamAssassin->new();

  # This is the main loop. It's executed once for each email
  while(!$folder_reader->end_of_file())
  {
    $email = $folder_reader->read_next_email();
    chomp($email);
    $mail = $spamtest->parse($email);
    $status = $spamtest->check($mail);
  #rest of code per above.
  }

Regards,

-Sean.




--
View this message in context: 
http://spamassassin.1065346.n5.nabble.com/Spamassassin-not-parsing-email-messages-tp102770p102784.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to