Merge pull request #216 from exander77/master

Fixed empty subject
This commit is contained in:
Gilles LAMIRAL 2020-04-14 14:40:58 +02:00 committed by GitHub
commit c300a8e19f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ;
}