diff options
-rwxr-xr-x | git-send-email.perl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 89f7c36ee5..a847d5ed52 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -410,6 +410,7 @@ sub extract_valid_address { return $address if ($address =~ /^($local_part_regexp)$/); if ($have_email_valid) { + $address =~ s/^<(.*)>$/$1/; return scalar Email::Valid->address($address); } else { # less robust/correct than the monster regexp in Email::Valid, |