mirror of
https://github.com/imapsync/imapsync.git
synced 2025-06-06 20:55:29 +02:00
Fixed empty subject
This commit is contained in:
parent
b3ff66078b
commit
7b9063a168
1 changed files with 1 additions and 1 deletions
2
imapsync
2
imapsync
|
@ -10116,7 +10116,7 @@ sub subject
|
||||||
|
|
||||||
my $header = extract_header( $string ) ;
|
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" ) ;
|
#myprint( "MMM[$1]\n" ) ;
|
||||||
$subject = $1 ;
|
$subject = $1 ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue