|
|
|
@ -773,9 +773,10 @@
|
|
|
|
|
NSMutableData *aMutableData = [[NSMutableData alloc] initWithCapacity: [theMessage length]];
|
|
|
|
|
|
|
|
|
|
// We now replace all \n by \r\n
|
|
|
|
|
[theMessage componentsSeparatedByCString:"\n" block:^(NSData *aLine,
|
|
|
|
|
NSUInteger count,
|
|
|
|
|
BOOL isLast) {
|
|
|
|
|
[theMessage componentsSeparatedByCString:"\n"
|
|
|
|
|
block:^(NSData *aLine,
|
|
|
|
|
NSUInteger count,
|
|
|
|
|
BOOL isLast) {
|
|
|
|
|
// We skip dumb headers
|
|
|
|
|
if ([aLine hasCPrefix: "From "]) {
|
|
|
|
|
return;
|
|
|
|
|