From 93dd01d271db1ca59211f238b31c54f3dcd57aa6 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 9 May 2012 10:52:36 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: dbb4d0d0fcdbbccb83eb0faf29ecfd26bb48dbc0 Monotone-Revision: 4e44cee96e74269b692d100a0c98730015a49d07 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-05-09T10:52:36 --- ChangeLog | 5 +++++ SoObjects/Mailer/SOGoDraftObject.m | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4255b1745..775458aa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-05-09 Ludovic Marcotte + + * SoObjects/Mailer/SOGoDraftObject.m - don't encode message/rfc822 + parts in base64 - it's not allowed. + 2012-05-08 Francis Lachapelle * UI/Contacts/UIxContactView.m (-primaryEmail): in the mailto diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index b751f8171..3d0c540ee 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -1181,11 +1181,6 @@ static NSString *userAgent = nil; content = [[NSData alloc] initWithContentsOfMappedFile:p]; [content autorelease]; - content = [content dataByEncodingBase64]; - [map setObject: @"base64" forKey: @"content-transfer-encoding"]; - [map setObject:[NSNumber numberWithInt:[content length]] - forKey: @"content-length"]; - /* Note: the -init method will create a temporary file! */ body = [[NGMimeFileData alloc] initWithBytes:[content bytes] length:[content length]];