parent
2114a48222
commit
1cf696f57c
2
NEWS
2
NEWS
|
@ -11,7 +11,7 @@ Enhancements
|
||||||
- updated CKEditor to version 4.3.0 and added tab module
|
- updated CKEditor to version 4.3.0 and added tab module
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
-
|
- put the text part before the HTML part when composing mail to fix a display issue with Thunderbird (#2512)
|
||||||
|
|
||||||
2.1.1a (2013-11-22)
|
2.1.1a (2013-11-22)
|
||||||
-------------------
|
-------------------
|
||||||
|
|
|
@ -1129,11 +1129,11 @@ static NSString *userAgent = nil;
|
||||||
body = [[[NGMimeMultipartBody alloc] initWithPart: message] autorelease];
|
body = [[[NGMimeMultipartBody alloc] initWithPart: message] autorelease];
|
||||||
[map addObject: MultiAlternativeType forKey: @"content-type"];
|
[map addObject: MultiAlternativeType forKey: @"content-type"];
|
||||||
|
|
||||||
|
// Get the text part from it and add it
|
||||||
|
[body addBodyPart: [self plainTextBodyPartForText]];
|
||||||
|
|
||||||
// Add the HTML part
|
// Add the HTML part
|
||||||
[body addBodyPart: [self bodyPartForText]];
|
[body addBodyPart: [self bodyPartForText]];
|
||||||
|
|
||||||
// Get the text part from it and add it too
|
|
||||||
[body addBodyPart: [self plainTextBodyPartForText]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[message setBody: body];
|
[message setBody: body];
|
||||||
|
@ -1343,12 +1343,12 @@ static NSString *userAgent = nil;
|
||||||
|
|
||||||
textParts = [[NGMimeMultipartBody alloc] initWithPart: part];
|
textParts = [[NGMimeMultipartBody alloc] initWithPart: part];
|
||||||
|
|
||||||
|
// Get the text part from it and add it
|
||||||
|
[textParts addBodyPart: [self plainTextBodyPartForText]];
|
||||||
|
|
||||||
// Add the HTML part
|
// Add the HTML part
|
||||||
[textParts addBodyPart: [self bodyPartForText]];
|
[textParts addBodyPart: [self bodyPartForText]];
|
||||||
|
|
||||||
// Get the text part from it and add it too
|
|
||||||
[textParts addBodyPart: [self plainTextBodyPartForText]];
|
|
||||||
|
|
||||||
[part setBody: textParts];
|
[part setBody: textParts];
|
||||||
RELEASE(textParts);
|
RELEASE(textParts);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue