in reply to I need to print a string but only if it doesn't match a value in an array.

Why not use Mail::POP3Client instead? It has methods to get the headers, body or both of a given message.
$message=$pop->Body($msg_num);
  • Comment on Re: I need to print a string but only if it doesn't match a value in an array.
  • Download Code