I am trying to use Xam.Plugins.Messaging plugin to send email from my shared code pcl but it seems that EmailTask.CanSendEmail always comes false. How to sort this out in my Xamarin.Forms project.?
I have implemented the code or sample but EmailTask.CanSendEmail always comes false value , should I need to set anything else so that it comes true? I am using code into the shared PCL project.
the ios emulator was returning false. Once I switched to a real device it was returning true. I also found that Outlook alone didn't return true and I needed to reinstall the iOS mail app (I had uninstalled it as I only wanted to use one mail client)
Answers
https://components.xamarin.com/view/xam.plugins.messagingHere you can find a sample
I have implemented the code or sample but EmailTask.CanSendEmail always comes false value , should I need to set anything else so that it comes true? I am using code into the shared PCL project.
any fix for this? Having the same issues. I have copied the sample code but "if (emailMessenger.CanSendEmail)" is always false
sending txt messages is fine using this plugin
the ios emulator was returning false. Once I switched to a real device it was returning true. I also found that Outlook alone didn't return true and I needed to reinstall the iOS mail app (I had uninstalled it as I only wanted to use one mail client)