MFMailComposeViewController canSendMail returns NO.
As title, If an IPA using that method installed with TrollStore, It will return false even if the mail accounts are available.
But the same IPA installed with proper method (code signing, Xcode, etc), It works fine.
this probably can be solved with some private entitlement, idk which one tho
maybe try com.apple.private.tcc.allow
Added
<key>com.apple.private.tcc.allow</key>
<true/>
to entitlement, same result.
Unable to initialize due to + [MFMailComposeViewController canSendMail] returns NO.
Try
<key>com.apple.managedconfiguration.profiled-access</key>
<true/>
Same.
Hmm idk then
hasMailAccountsWithFilteringEnabled:sourceAccountManagement:completion: seems to be the check that fails inside the profiled daemon, maybe look for yourself
I'll update this thread when I find a solution.