On Mon, 9 Feb 2004 [EMAIL PROTECTED] wrote:

...

> while(<HEADERS>){
>       chomp;
>       $line = $_;
>       $idx = index($line, "Subject: ");
>       if ($idx == 0){
>               $msgSubject = substr($line, 9);
>       }
> }

The message subject is already available as the global variable
$Subject; it's not necessary to parse the HEADERS file.

Regards,

David.
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to