I am using this code and settings are provided to check whether mail account is set or not. But when it reaches the NSArray *toRecipients = [NSArray arrayWithObject: @"feedback@xyz"];
it gets aborted. My code is given below. MessageUI.framework is also provided fine.
MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init];
controller.mailComposeDelegate = self;
[controller setSubject:@"heading"];
[controller setMessageBody:@"some text" isHTML:NO];
NSArray *toRecipients = [NSArray arrayWithObject: @"feedback@xyz"];
[controller setToRecipients:toRecipients];
[self presentModalViewController:controller animated:YES];
[controller release];
The recipient email address is not valid.That’s why problem occurred. Use this: