[Xfce4-commits] <postler:master> Specify MIME-Version and Content-Transfer-Encoding when sending

Christian Dywan noreply at xfce.org
Tue Jul 13 00:54:07 CEST 2010


Updating branch refs/heads/master
         to a2fe7de7f165147719ca7422367cd9132e35d968 (commit)
       from d69f33f062cdde0012c254152ff6c7dff9574ddc (commit)

commit a2fe7de7f165147719ca7422367cd9132e35d968
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Jul 5 21:16:18 2010 +0200

    Specify MIME-Version and Content-Transfer-Encoding when sending

 postler/postler-composer.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/postler/postler-composer.vala b/postler/postler-composer.vala
index 48ab748..ebbdb9e 100644
--- a/postler/postler-composer.vala
+++ b/postler/postler-composer.vala
@@ -94,6 +94,7 @@ public class Postler.Composer : Gtk.Window {
                 var now = new Soup.Date.from_now (0);
                 string copy = entry_copy.text;
                 string header = ("From: %s\nTo: %s\n%s%s"
+                    + "MIME-Version: 1.0\nContent-Transfer-Encoding: 8bit\n"
                     + "Content-Type: text/plain; charset=UTF-8\n"
                     + "Subject: %s\nDate: %s\nX-Mailer: %s\n\n").printf (
                         sender,



More information about the Xfce4-commits mailing list