EmailTask.CanSendEmail always come false when I use Xam.Plugins.Messaging plugin

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.?

Tagged:

Answers

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭
  • ShahriatHossainShahriatHossain USMember ✭✭

    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.

  • DaveAuDaveAu AUMember ✭✭

    any fix for this? Having the same issues. I have copied the sample code but "if (emailMessenger.CanSendEmail)" is always false

  • DaveAuDaveAu AUMember ✭✭
    edited March 2017

    sending txt messages is fine using this plugin

  • DaveAuDaveAu AUMember ✭✭

    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)

Sign In or Register to comment.