You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using below code for sending excel fie which exists on Document directory But It's not working. Need suggestion urgently. Excel File extension .xlsx.
I'm using below code for sending excel fie which exists on Document directory But It's not working. Need suggestion urgently. Excel File extension .xlsx.
NSData *data=[NSData dataWithContentsOfFile:filePath];
NSDictionary *excelFileDict = [NSDictionary dictionaryWithObjectsAndKeys:@"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",kSKPSMTPPartContentTypeKey,
data, kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil];
testMsg.parts = [NSArray arrayWithObjects:excelFileDict,nil];
The text was updated successfully, but these errors were encountered: