aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-03-11 00:48:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-03-11 00:48:47 +0800
commit95b34851418ce6b154d278433216cb611c512f1e (patch)
tree19edae34a4a7e3dd6974e2ff900d719279611ae9
parentfd3ea7eea6369421acf92e69dda6a1af8c37d819 (diff)
downloadgsoc2013-evolution-95b34851418ce6b154d278433216cb611c512f1e.tar
gsoc2013-evolution-95b34851418ce6b154d278433216cb611c512f1e.tar.gz
gsoc2013-evolution-95b34851418ce6b154d278433216cb611c512f1e.tar.bz2
gsoc2013-evolution-95b34851418ce6b154d278433216cb611c512f1e.tar.lz
gsoc2013-evolution-95b34851418ce6b154d278433216cb611c512f1e.tar.xz
gsoc2013-evolution-95b34851418ce6b154d278433216cb611c512f1e.tar.zst
gsoc2013-evolution-95b34851418ce6b154d278433216cb611c512f1e.zip
added a comment
svn path=/trunk/; revision=20241
-rw-r--r--camel/providers/sendmail/camel-sendmail-transport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/sendmail/camel-sendmail-transport.c b/camel/providers/sendmail/camel-sendmail-transport.c
index f7059198b0..863daf1bca 100644
--- a/camel/providers/sendmail/camel-sendmail-transport.c
+++ b/camel/providers/sendmail/camel-sendmail-transport.c
@@ -189,6 +189,8 @@ sendmail_send_to (CamelTransport *transport, CamelMimeMessage *message,
/* Parent process. Write the message out. */
close (fd[0]);
out = camel_stream_fs_new_with_fd (fd[1]);
+
+ /* workaround for lame sendmail implementations that can't handle CRLF eoln sequences */
filter = camel_stream_filter_new_with_stream (out);
crlf = camel_mime_filter_crlf_new (CAMEL_MIME_FILTER_CRLF_DECODE, CAMEL_MIME_FILTER_CRLF_MODE_CRLF_ONLY);
camel_stream_filter_add (filter, crlf);