Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Send multiple SMS problem using Skype API

$
0
0
hi,

i am trying to send multiple sms one after one programatically using skype api with c# language.

my code is
--------------
                for (int i = 0; i <= arr.Count - 1; i++)
                {
                    SKYPE4COMLib.SkypeClass oSms = new SKYPE4COMLib.SkypeClass();
                    oSms.SendSms(arr[i].ToString(), strMsg, "");
                    System.Threading.Thread.Sleep(60000);
                    oSms = null;
                }

so i am trying to send multiple sms in loop one after one but the problem is after sending two sms one error message i am getting and the error is

 SMS: CREATE SMS takes a list of phone numbers.

so i just do not understand what is wrong is there in my code.

so please help me to fix this error as a result i can send the same text message to many person one after one from my c# code.
awaiting for ur answer..........

thanks in advance.

Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>