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