I found email composer sample code from iphone OS Ref Library. Here is a code-
Code:
 NSArray *toRecipients = [NSArray arrayWithObject:@"
[email protected]"]; 
 NSArray *ccRecipients = [NSArray arrayWithObjects:@"
[email protected]", @"
[email protected]", nil]; 
 NSArray *bccRecipients = [NSArray arrayWithObject:@"
[email protected]"];
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?