From f370ac114a69281ab4a61927fc2781122e22998e Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 10 Apr 2014 09:24:43 -0400 Subject: [PATCH] Now include message/rfc822 parts as attachments when forwarding mails --- SoObjects/Mailer/SOGoMailObject.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SoObjects/Mailer/SOGoMailObject.m b/SoObjects/Mailer/SOGoMailObject.m index 4ec55af30..f2fa35eac 100644 --- a/SoObjects/Mailer/SOGoMailObject.m +++ b/SoObjects/Mailer/SOGoMailObject.m @@ -770,6 +770,9 @@ static BOOL debugSoParts = NO; [mimeType hasPrefix: @"image/"] || [mimeType hasPrefix: @"video/"]) filename = [NSString stringWithFormat: @"unknown_%@", path]; + else if ([mimeType isEqualToString: @"message/rfc822"]) + filename = [NSString stringWithFormat: @"email_%@.eml", path]; + if (filename) {