I am working in Xamarin ios. I need to implement mail functionality. I implemented the code and getting "Sent" in result. But it is not received by recipients. I am using MFMailComposeViewController to implement the mail functionality.
following is the code:
if (MFMailComposeViewController.CanSendMail)
{
mailController = new MFMailComposeViewController();
mailController.SetToRecipients(new string[] { abcd@gmail.com });
mailController.SetSubject("");
mailController.SetMessageBody("", false);
mailController.Finished += (object s, MFComposeResultEventArgs args) =>
{
args.Controller.DismissViewController(true, null);
};
}