Google Website Translator Gadget

Thursday, 25 December 2014

Messaging Plugin for Xamarin and Windows 2.0.0

I’ve been having some fun taking part in the Xamarin Holiday contest for creating a Xamarin plugin.  My entry for the competition is a Messaging Plugin.  The Messaging plugin makes it possible to make a phone call, send a SMS or send an e-mail using the default messaging applications on the different mobile platforms.

I’ve been slowly adding new features and have just published a new version of the plugin that adds support for sending attachments as part of an e-mail.  In addition to adding attachments support I did some clean-up and refactoring on the plugin API.  Unfortunately this introduces a few breaking changes and I’ve therefore decided to make the new version a major update (2.0.0).

Here is a list of supported features for v2:

  • Send SMS (supported on iOS, Android, WinPhone 8, WinPhone RT)
  • Make Phone Call (supported on iOS, Android, WinPhone 8, WinPhone RT)
  • Send Email (supported on iOS, Android, WinPhone 8, WinPhone RT and limited support on WinStore via mailto protocol)
  • Send HTML Email (supported on iOS, Android)
  • Send Email Attachments (supported on iOS, Android, WinPhone RT)

Here is the release notes for v2:

  • Added support for attachments via IEmailAttachment abstraction
  • Added IEmailMessage abstraction
  • Breaking change: Deprecated EmailMessageRequest.  Construct IEmailMessage using EmailMessageBuilder instead.
  • Breaking change: Changed IEmailTask.SendMail overload to use IEmailMessage.
  • Breaking change: Deprecated Lotz.Xamarin.Messaging.Abstractions namespace. Use Lotz.Xamarin.Messaging instead.

So head over to NuGet to install the latest version.  Full documentation on how to use the API and examples for using the plugin for the different platforms can be found in the GitHub repository. 


  1. I have read so many articles or reviews however this blog post is genuinely a pleasant article, keep it up.
    Software Development Company in Indore

  2. Very informative post, your article on IOS mobile application development training helped me to understand the future of mobile application development. It is recommended to enroll in ios developer training in chennai at reputed IT training and placement institute for better career prospects.

  3. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    Python Classes in Chennai|Python training courses|Python training in velachery

  4. Thanks for sharing this niche useful informative post to our knowledge, Actually SAP is ERP software that can be used in many companies for their day to day business activities it has great scope in future.
    SAP courses in chennai|SAP institutes in chennai|SAP Training Institute in Chennai|sap course in Chennai

  5. Xamarin is always up-to-date with the latest APIs from Apple and Google.
    Xamarin Experts

  6. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

  7. The messaging plug in in Xamarin allows user to make calls. These kind of plug ins use abstractions like ISmsTask, IEmailTask, and IPhoneCallTask to send an e-mail. Xamarin is now being used by Mobile apps development companies to build mobile apps.