add mail header Content-Type and Content-Transfer-Encoding stable
authorChristian Arnold <arnold@schlittermann.de>
Tue, 24 Mar 2009 11:00:38 +0100
changeset 16 bb1b17fee8c3
parent 14 744cb8934861
child 17 ada2cfc3bb86
child 20 2c0e6f2515cf
child 22 867f20e10f28
add mail header Content-Type and Content-Transfer-Encoding
debian/changelog
log.pl
--- a/debian/changelog	Wed Feb 11 11:08:08 2009 +0000
+++ b/debian/changelog	Tue Mar 24 11:00:38 2009 +0100
@@ -1,3 +1,10 @@
+logbuch (0.28-1) stable; urgency=low
+
+  * new upstream
+  * add mail header Content-Type and Content-Transfer-Encoding
+
+ -- Christian Arnold <arnold@schlittermann.de>  Tue, 24 Mar 2009 10:49:48 +0100
+
 logbuch (0.27-1) stable; urgency=low
 
   * new upstream
--- a/log.pl	Wed Feb 11 11:08:08 2009 +0000
+++ b/log.pl	Tue Mar 24 11:00:38 2009 +0100
@@ -222,6 +222,8 @@
 	    $subject =~ s/\n(.)/\n\t$1/g;
 
 	    $mailer->open({
+		"Content-Type" => "text/plain; charset=utf-8",
+		"Content-Transfer-Encoding" => "8bit",
 		"To" => $mailto,
 		"Subject" => $subject});
 	    print $mailer $head, "\n", $text;