After a user tries to send some "in app" email from my iPhone app... I'd like to inform them of what happened. I put some code like this in my "didFinishWithResult" method:
if(result == MFMailComposeResultSent ) NSLog(@"Email sent");
if(result == MFMailComposeResultCancelled) NSLog(@"Email cancelled");
if(result == MFMailComposeResultFailed ) NSLog(@"Can't send email.\nError # %d", result);
if(result == MFMailComposeResultSaved ) NSLog(@"Email saved");
It works in all cases EXCEPT if the device is in the "airplane mode".
Then I get both "email sent" and "can't send now, queued for later sending" messages.
Is there a way for me to detect that? Shouldn't there be a MFMailComposeQueuedForLater result???