Hello,
I wrote an amateurish script perl (I use Net::POP3) to block the spam which 
(the script) 
runs fairly fine.

But I got a mail with that header: (in gnome-terminal)

From: [EMAIL PROTECTED]
Subject:
To: [EMAIL PROTECTED]

And my script did not work, while currently it worked fine with an empty 
subject.

When I copy-past this header in a text editor I got:

with  vim: nothing

with xedit:

From: [EMAIL PROTECTED]
>> ILLEGAL SELECTION << 
To: [EMAIL PROTECTED]

with xemacs:
From: [EMAIL PROTECTED]
Subject: \u524d\u6255\u3044\u3057\u3066\u3082\u3044\u3044\u3067\u3059\u3002
To: [EMAIL PROTECTED]

When I downloaded this mail I got: (with fetchmail and mutt )

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: ^[$BA0J'$$$7$F$b$$$$$G$9!#^[(B

How can I recognize such subject ?

if ($subject =~ /???/) {$pop->delete(...)}
                 ^^^

Can someone give me some advices to recognize such subject if it's possible.

tia
-- 
Gérard


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to