I found email composer sample code from iphone OS Ref Library. Here is a code-
Code:
NSArray *toRecipients = [NSArray arrayWithObject:@"first@example.com"];
NSArray *ccRecipients = [NSArray arrayWithObjects:@"second@example.com", @"third@example.com", nil];
NSArray *bccRecipients = [NSArray arrayWithObject:@"fourth@example.com"];
My question is how to take user’s input? Here all email address are predefined in code. so what are the IDs of to, CC, Bcc, subject and body fields?
Use this code. To Give a Email address as user input only.
Best of luck.