(fix) use the correct message class for S/MIME mails

This commit is contained in:
Ludovic Marcotte
2016-03-18 13:00:02 -04:00
parent bc0eba3504
commit 284c45f111
2 changed files with 97 additions and 9 deletions
+1 -1
View File
@@ -841,7 +841,7 @@ static BOOL debugSoParts = NO;
// We set the path to 0 in case of a smime mail if not provided.
subtype = [[part objectForKey: @"subtype"] lowercaseString];
if ([subtype isEqualToString: @"pkcs7-mime"])
if ([subtype isEqualToString: @"pkcs7-mime"] || [subtype isEqualToString: @"x-pkcs7-mime"])
path = @"0";
}