mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 12:57:14 +00:00
See ChangeLog
Monotone-Parent: 63271073bf7d0a76f33d176368439c6dcd2cb1b1 Monotone-Revision: 73e29d3a84d2c6904889f66d1758bfcbbb10951c Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2007-11-15T22:39:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
958f39b5f8
commit
51f5520e44
5 files changed
+55
-16
No files matched your search
@@ -51,6 +51,7 @@
|
||||
#import <NGMime/NGMimeMultipartBody.h>
|
||||
#import <NGMime/NGMimeType.h>
|
||||
#import <NGMime/NGMimeHeaderFieldGenerator.h>
|
||||
#import <NGMime/NGMimeHeaderFields.h>
|
||||
|
||||
#import <SoObjects/SOGo/NSArray+Utilities.h>
|
||||
#import <SoObjects/SOGo/NSCalendarDate+SOGo.h>
|
||||
@@ -614,10 +615,14 @@ static BOOL showTextAttachmentsInline = NO;
|
||||
SOGoUser *currentUser;
|
||||
|
||||
[sourceMail fetchCoreInfos];
|
||||
|
||||
info = [NSDictionary dictionaryWithObject: [sourceMail subjectForForward]
|
||||
forKey: @"subject"];
|
||||
[self setHeaders: info];
|
||||
|
||||
if ([sourceMail subjectForForward])
|
||||
{
|
||||
info = [NSDictionary dictionaryWithObject: [sourceMail subjectForForward]
|
||||
forKey: @"subject"];
|
||||
[self setHeaders: info];
|
||||
}
|
||||
|
||||
[self setSourceURL: [sourceMail imap4URLString]];
|
||||
[self setSourceFlag: @"$Forwarded"];
|
||||
|
||||
@@ -905,7 +910,7 @@ static BOOL showTextAttachmentsInline = NO;
|
||||
cdtype = @"inline";
|
||||
else
|
||||
cdtype = @"attachment";
|
||||
|
||||
|
||||
cd = [cdtype stringByAppendingString: @"; filename=\""];
|
||||
cd = [cd stringByAppendingString: _name];
|
||||
cd = [cd stringByAppendingString: @"\""];
|
||||
@@ -950,7 +955,13 @@ static BOOL showTextAttachmentsInline = NO;
|
||||
is7bit = YES;
|
||||
}
|
||||
if ((s = [self contentDispositionForAttachmentWithName:_name]))
|
||||
[map setObject:s forKey: @"content-disposition"];
|
||||
{
|
||||
NGMimeContentDispositionHeaderField *o;
|
||||
|
||||
o = [[NGMimeContentDispositionHeaderField alloc] initWithString: s];
|
||||
[map setObject:o forKey: @"content-disposition"];
|
||||
[o release];
|
||||
}
|
||||
|
||||
/* prepare body content */
|
||||
|
||||
|
||||
Reference in new issue
Block a user