Exemplo n.º 1
0
 /// <summary>
 /// sends personal sms
 /// </summary>
 /// <param name="data">K: phoneNumber, V: phoneNumberMSG</param>
 public static void SendPersonal(Dictionary <string, string> data)
 {
     try
     {
         using (var client = new GoldmanSMSService.SendSMSSoapClient())
         {
             client.SUBMITSMSPerEx(data);
         }
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sends regular sms (many)
 /// </summary>
 /// <param name="phoneNnumber"></param>
 /// <param name="msg"></param>
 public static void SendRegularMany(List <string> phoneNnumber, string msg)
 {
     try
     {
         using (var client = new GoldmanSMSService.SendSMSSoapClient())
         {
             client.SUBMITSMSRegManyEx(phoneNnumber, msg);
         }
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }