title: MFMailComposeViewController dismisses right away
body: <p>The situation is the MFMailComposeViewController was going to be presented. I saw it was presented half-way done, but then it got dismissed.</p>
  
  <p>This is the error:</p>
  
  <blockquote>
    <p>_serviceViewControllerReady:error: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)"</p>
  </blockquote>
  
  <p>This is my source code to present the MFMailComposeViewController:</p>
  
  <pre><code>-(void) MailExecute {
      if ([MFMailComposeViewController canSendMail]) 
      {
          MFMailComposeViewController *mailViewController = [[MFMailComposeViewController alloc] init];   
          mailViewController.mailComposeDelegate = self;
          [mailViewController setSubject:NSLocalizedString(@"Check this new look", @"")];
          [mailViewController setMessageBody: @"my new look" isHTML:YES];
  
          [self presentModalViewController:mailViewController animated:YES];
  
          [mailViewController release];
      }
      else 
      {
          UIAlertView *alertInternal = [[UIAlertView alloc]
                                        initWithTitle: NSLocalizedString(@"Notification", @"")
                                        message: NSLocalizedString(@"You have not configured your e-mail client.", @"")
                                        delegate: nil
                                        cancelButtonTitle:NSLocalizedString(@"OK", @"")
                                        otherButtonTitles:nil];
          [alertInternal show];
          [alertInternal release];
      }
  }
  </code></pre>
  
  <p>The weird point is that sometimes it happens, sometimes it doesn't.
  Please help me on this! I spend almost 1 working day to resolve this but no succeed.</p>