How to send SMS without opening the SMS application

Can I send SMS messages from Windows Phone directly, and not through the SMS application?

I already wrote a function for sending through the application

public async void SendSms(string phone, string message)
{
    var chatMessage = new ChatMessage();
    if (phone != null)
    {
        chatMessage.Recipients.Add(phone);
    }
    chatMessage.Body = message;
    await ChatMessageManager.ShowComposeSmsMessageAsync(chatMessage);
}

Now I want to send SMS not through a standard application.

+4
source share
1 answer

It is not possible to use your own Windows Phone SDK because the user first philosophy does not allow this behavior. Before sending SMS messages, you should see the SMS application. You must use an external service via http to get what you want.

+1
source

Source: https://habr.com/ru/post/1649735/


All Articles