diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/perlbug.PL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/perlbug.PL b/utils/perlbug.PL index 2972ae77cf..368ce91f77 100644 --- a/utils/perlbug.PL +++ b/utils/perlbug.PL @@ -1164,8 +1164,8 @@ send to '$address' with your normal mail client. EOF } - open( SENDMAIL, "|$sendmail -t -oi" ) - || die "'|$sendmail -t -oi' failed: $!"; + open( SENDMAIL, "|-", $sendmail, "-t", "-oi", "-f", $from ) + || die "'|$sendmail -t -oi -f $from' failed: $!"; print SENDMAIL build_complete_message(); if ( close(SENDMAIL) ) { print "\nMessage sent\n"; |