ios - issue when multiple recipients for my app mail- Objective c -
I am facing a problem when multiple recipients for my mail, I have two attachments by default Are there. When IAM sends mail to many recipients other than the code given below; (I have to select or have to type the recipient ID from the UI)
if ([Membel Comcast WeekCentor can SendMail]) {[Self Print PDF and Csv]; // code pdf & amp; CSV MFMailComposeViewController * MailComposer = [[MFMail Composive Vicentrador Alloc] INIT]; MailComposer.mailComposeDelegate = self; // attached pdf file. [MailCampersAd AttachmentData: [NSData Datavide Contentoff file: Self. PDF File Path] Emmy Type: @ "Application / PDF" filename: [nssting stringvat format: @ "pdfnm -% @ pdf", selected projectname]]; // Attach CSV file [MailComputerAd AttachmentData: [NSDATA DATAVITY CONTENTOFFFILE: Self. CSF file path] Emmei type: @ "Text / CSV" filename: [NSSTING stringvat format: @ "CSVNum -% @ CSV", Selected ProjectName]]; [Self-present ViewController: animated mailComposer: yes complete: zero]; } IMF is a starter in development, so I need your valuable help.
try it
MFMailComposeViewController * picker = [[MFMailComposeViewController alloc] Init]; NSArray * toRecipients = [NSArray arrayWithObjects: @ "abc@gmail.com", @ "xyz@gmail.com", zero]; [Picker settingspxients: toRecipients];
Comments
Post a Comment