I want to create a csv file with ny string and attaching that. I were try this by using these lines
[foodString writeToFile:@"Meal.csv" atomically:YES encoding:NSUTF8StringEncoding error:NULL];
[mailView addAttachmentData:NULL mimeType:@"text/csv" fileName:@"Meal.csv"];
[mailView setMessageBody:@"Open attached file." isHTML:NO];
and MFMail shows me an icon of file in the mail but i couldn't get any file.
Please help me out.Thanx...