I am sending email via following method:
-(void) sendEmailOpenControllerWithSubject:(NSString *)subject messsageBody:(NSString *) message
{
MFMailComposeViewController* controller = [[MFMailComposeViewController alloc] init];
controller.mailComposeDelegate = self;
[controller setSubject:subject];
[controller setMessageBody:message isHTML:NO];
[controller setToRecipients:[[NSArray alloc] initWithObjects:currentProspect.email, nil]];
if (controller) [self presentModalViewController:controller animated:YES];
}
I am setting message body subject and recipient but it is likely that user changes these attribute in MailComposer.
What I need:
So I want to get the contents like message body,subject and recipients after the email is sent. As it is possible that user has changed these via mail composer.
Starting in iOS 5, you can register to be notified of changes to the availability of text message sending.
Refer more on Message UI Framework here