Also guess $ENV{EMAIL}, if present, as the originating address
Alex Vandiver [Sat, 17 Apr 2010 03:54:11 +0000 (23:54 -0400)]
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>

utils/perlbug.PL

index 2fe3c59..184c016 100644 (file)
@@ -460,7 +460,7 @@ EOF
        # Try and guess return address
        my $guess;
 
-       $guess = $ENV{'REPLY-TO'} || $ENV{'REPLYTO'} || '';
+       $guess = $ENV{'REPLY-TO'} || $ENV{'REPLYTO'} || $ENV{'EMAIL'} || '';
         if ($Is_MacOS) {
             require Mac::InternetConfig;
             $guess = $Mac::InternetConfig::InternetConfig{