Skip to content

Commit 3ee4c39

Browse files
JonasWhochirag04
authored andcommitted
Add Excel as attachment mimeType (chirag04#89)
1 parent 227d2cd commit 3ee4c39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RNMail/RNMail.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ + (BOOL)requiresMainQueueSetup
120120
mimeType = @"audio/flac";
121121
} else if ([attachmentType isEqualToString:@"ogg"]) {
122122
mimeType = @"audio/ogg";
123+
} else if ([attachmentType isEqualToString:@"xls"]) {
124+
mimeType = @"application/vnd.ms-excel";
123125
}
124126

125127
// Add attachment

0 commit comments

Comments
 (0)