Fixed empty subject

This commit is contained in:
Radomír Polách 2020-04-13 22:27:56 +02:00
parent b3ff66078b
commit 7b9063a168

View file

@ -10116,7 +10116,7 @@ sub subject
my $header = extract_header( $string ) ;
if( $header =~ m/^Subject:\s*([^\n\r]*)\r?$/msx ) {
if( $header =~ m/^Subject:[ \t]*([^\n\r]*)\r?$/msx ) {
#myprint( "MMM[$1]\n" ) ;
$subject = $1 ;
}