Adding phone call, SMS and email feature is easy in Xamarin.Forms. Thanks to Carel Lotz for developing the plugin. His plugin provides three services: Call, SMS and Email. In this post let’s see how to implement all the three services in Xamarin.Forms (PCL) project.
First let’s create simple UI to enter phone number, message and email. Here is my simple UI.

Don’t worry about the code, I uploaded it on Github.
First two entries and button is for sending SMS, second two for phone call and remaining are for email purpose.
Let’s add Nuget package. Add this nuget package in your projects (pcl, android, iOS, winphone).
Now let’s implement the services.
For Sending SMS:
In SendSms click event, add the following code:
- SendSms.Clicked += (sender, e) =>
- {
- var SmsTask = MessagingPlugin.SmsMessenger;
- if (SmsTask.CanSendSms)
- SmsTask.SendSms(MsgTo.Text, Message.Text);
- };
In CallNo click event add the following code.
- CallNo.Clicked += (sender, e) =>
- {
- //Don't forgot to enable ID_CAP_PHONEDAILER on manifest file
- var PhoneCallTask = MessagingPlugin.PhoneDialer;
- if (PhoneCallTask.CanMakePhoneCall)
- PhoneCallTask.MakePhoneCall(PhoneNumber.Text);
- };
In SendEmail click event add the following code.
- SendEmail.Clicked += (sender, e) =>
- {
- var EmailTask = MessagingPlugin.EmailMessenger;
- if (EmailTask.CanSendEmail)
- EmailTask.SendEmail(EmailTo.Text, EmailSubject.Text, EmailBody.Text);
- };
Tip: Don’t forgot to enable CALL_PHONE and SEND_SMS capabilities in android project and ID_CAP_PHONEDAILER capabilities on windows phone.
Now only this much for code. Let’s build and see the result;
Here we go on my windows phone.

It works fine. Complete code is here.
Happy Coding.

Asfend YarPosted Mar 9, 2016, 4:01 AM
nice one
Harshad PansuriyaPosted Sep 11, 2015, 6:23 AM
Nice Share
RakeshPosted Sep 9, 2015, 5:51 AM
Good one
Santhakumar MunuswamyPosted Sep 5, 2015, 4:04 AM
Thanks for nice share
Mohammed IbrahimPosted Sep 4, 2015, 5:29 PM
nice
Sumit JoshiPosted Sep 4, 2015, 11:47 AM
Thanks for share.
Shridhar SharmaPosted Sep 4, 2015, 11:36 AM
nice share Janak
Pankaj Kumar ChoudharyPosted Sep 4, 2015, 6:50 AM
Nice Explain Sir...........
Ankit BansalPosted Sep 4, 2015, 5:04 AM
thanks for sharing...
Karthikeyan KPosted Sep 4, 2015, 3:05 AM
Good one sir...Thanks for sharing