From 7b9063a168658b6e55af086b66bb95f33b09d16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radom=C3=ADr=20Pol=C3=A1ch?= Date: Mon, 13 Apr 2020 22:27:56 +0200 Subject: [PATCH] Fixed empty subject --- imapsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imapsync b/imapsync index 6dc8d59..542e36d 100755 --- a/imapsync +++ b/imapsync @@ -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 ; }