title: MFMailComposeViewController not populating recipients in ios 5
body: <p>I'm trying to send mail to list of email array that I receive from database, when I send the recipient list gets populated in <code>iOS 7</code> but when I tried in <code>iOS 5</code> the recipient list doesn't get populated. Any Idea why? This is my mail function</p>
  
  <pre><code>-(void)sendEmailToContacts:(NSArray *)fList withText:(NSString *)emailText withTag:(NSInteger )tag
  {
      if([MFMailComposeViewController canSendMail])
      {
          MFMailComposeViewController *mailComposer = [[MFMailComposeViewController alloc] init];
          mailComposer.view.tag=tag;
          NSString *htmlBody =[NSString stringWithFormat:@"&lt;a href=\"%@\"&gt;%@&lt;/a&gt;",_currentAdd.contentUrl,addtext];
          [mailComposer setMessageBody:htmlBody isHTML:YES];
          [mailComposer setSubject:_currentMail.subject];
          mailComposer.mailComposeDelegate = self;
          [mailComposer setToRecipients:fList];
          [self presentViewController:mailComposer animated:YES completion:nil];
      }
      else
      {
         NSLog(@"Device is unable to send email in its current state.");
      }
  }
  </code></pre>
  
  <p>My <code>fList</code> (recipient list) is an <code>NSArray</code>, this is a sample output of my fList</p>
  
  <pre><code>(
      "john@gmail.com",
      "mary@gmail.com",
      "akhil@gmail.com",
      "tester@gmail.com"
  )
  </code></pre>