Code

[PATCH] Convert from using quoted-printable to just 8bit encoding on all emails.
authorRyan Anderson <ryan@michonline.com>
Mon, 1 Aug 2005 00:04:24 +0000 (20:04 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 Aug 2005 05:53:16 +0000 (22:53 -0700)
(Deleted some spurious comments)

Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email-script

index 9061ecdf5be77a09cd89d285c1057d4a1ec7dd38..c0d9eb8f1978c53aec15680e646e2362b75dd149 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 use Term::ReadLine;
-use Mail::Sendmail;
+use Mail::Sendmail qw(sendmail %mailcfg);
 use Getopt::Long;
 use Data::Dumper;
 use Email::Valid;
@@ -29,19 +29,8 @@ use Email::Valid;
 # Variables we fill in automatically, or via prompting:
 my (@to,@cc,$initial_reply_to,$initial_subject,@files,$from);
 
-# Example of them
-# modify these options each time you run the script
-#$to = 'torvalds@osdl.org,git@vger.kernel.org';
+# Example reply to:
 #$initial_reply_to = ''; #<20050203173208.GA23964@foobar.com>';
-#$initial_subject = "[PATCH] Deb package build fixes";
-#@files = (qw(
-#0001-Make-debian-rules-executable-and-correct-the-spelling-of-rsync-in.txt
-#0002-Debian-packages-should-include-the-binaries.txt
-#0003-The-deb-package-building-needs-these-two-new-files-to-work-correctly.txt
-#));
-
-# change this to your email address.
-#$from = "Ryan Anderson <ryan\@michonline.com>";
 
 my $term = new Term::ReadLine 'git-send-email';
 
@@ -180,6 +169,7 @@ sub send_message
                );
 
        $mail{smtp} = 'localhost';
+       $mailcfg{mime} = 0;
 
        #print Data::Dumper->Dump([\%mail],[qw(*mail)]);