remove newline in decoded subject

git-svn-id: https://svn.fhem.de/fhem/trunk@4390 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-12-16 09:38:24 +00:00
parent b26df7ec80
commit 7f7dd226a0

View File

@@ -405,6 +405,7 @@ mailcheck_Read($)
$entity->head->decode(); $entity->head->decode();
$subject = $entity->head->get('Subject'); $subject = $entity->head->get('Subject');
chomp( $subject );
Log3 $name, 4, "subject decoded: $subject"; Log3 $name, 4, "subject decoded: $subject";
} elsif( my $accept_from = AttrVal($name, "accept_from", "" ) ) { } elsif( my $accept_from = AttrVal($name, "accept_from", "" ) ) {