Does anyone have ideas of what would make MFMailComposeViewController.CanSendMail return false, even when there is a working email account configured? My app has a feature to allow the user to report problems via email. I call MFMailComposeViewController.CanSendMail and show or hide that button depending on the return value. I know this user has email - he has sent me email from the device mail app, but he says my 'report problems' button is not showing.
any ideas?
Answers
I see several similar threads but not solved yet on stackoverflow .
https://stackoverflow.com/questions/54350041/mfmailcomposeviewcontroller-cansendmail-always-returns-false
https://stackoverflow.com/questions/41241061/mfmailcomposeviewcontroller-cansendmail-returns-false-if-the-email-account-was-a?rq=1
I suggest you seek help from Apple Develop Forum : https://forums.developer.apple.com/community/other/apple-developer-forums
thx - i posted to one apple site, but it wasn't that one so i will try again there.
The only hints i have see about a problem seem to involve corporate mobile device management, but as i have another user in the same company, also with a company phone, i suspect that isn't the problem. (their reply of "i don't know what that is" when i asked about MDM didn't give me a lot of confidence but ...)