--- Sender.pm_org 2012-12-12 18:29:40.000000000 +0100 +++ Sender.pm 2013-02-08 19:30:00.460276309 +0100 @@ -2146,7 +2146,7 @@ sub Part { $self->{'encoding'} = $encoding; if (defined $charset and $charset and $ctype !~ /charset=/i) { $ctype .= qq{; charset="$charset"} - } elsif (!defined $charset and $ctype =~ /charset="([^"]+)"/) { + } elsif (!defined $charset and $ctype !~ /charset="([^"]+)"/) { $charset = $1; }