0
I am trying to send an E-mail with the recipient already informed, but I do not know how to pass this information in the code.
Code:
-(IBAction) mail : (id) sender{
mailComposer = [[MFMailComposeViewController alloc] init];
mailComposer.mailComposeDelegate = self;
[mailComposer setSubject:@"test mail"];
[mailcomposer setMessageBody:@"Msg teste do Mail"
isHTML:NO];
[self presentModalViewController:mailComposer animated:YES];
}
I also used Messageui.framework