diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index e0c53849d..6c49c8fbc 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -28,7 +28,6 @@ #import #import #import -#import #import #import #import @@ -1271,12 +1270,11 @@ static NSString *userAgent = nil; map = [[[NGMutableHashMap alloc] initWithCapacity: 1] autorelease]; [map setObject: contentTypeValue forKey: @"content-type"]; - [map setObject: @"quoted-printable" forKey: @"content-transfer-encoding"]; /* prepare body content */ bodyPart = [[[NGMimeBodyPart alloc] initWithHeader:map] autorelease]; - plainText = [[text htmlToText] stringByEncodingQuotedPrintable]; + plainText = [text htmlToText]; [bodyPart setBody: plainText]; return bodyPart; @@ -1299,15 +1297,12 @@ static NSString *userAgent = nil; // TODO: set charset in header! if (text) - { - [map setObject: (isHTML ? htmlContentTypeValue : contentTypeValue) - forKey: @"content-type"]; - [map setObject: @"quoted-printable" forKey: @"content-transfer-encoding"]; - } + [map setObject: (isHTML ? htmlContentTypeValue : contentTypeValue) + forKey: @"content-type"]; /* prepare body content */ bodyPart = [[[NGMimeBodyPart alloc] initWithHeader:map] autorelease]; - [bodyPart setBody: [text stringByEncodingQuotedPrintable]]; + [bodyPart setBody: text]; return bodyPart; }