public void Send(SmsCarrier carrier, string number, string message)
 {
     SmtpClient.Send(
         From,
         string.Format("{0}@{1}", number, SmsCarrierTable.Default[carrier]),
         null,
         message);
 }
Example #2
0
 public SmsNumber(SmsCarrier carrier, string number)
 {
     Carrier = carrier;
     Number = number;
 }