I can't Send SMS with Atsms

  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links_related.module on line 204.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links_related.module on line 426.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links.inc on line 1121.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links.inc on line 1121.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.

Someone can help me ?
i try to send sms and retrieve phone setting using atsms.
someone can give me some code ?
my mine doesn't work :

1. I connect with the phone


try
{
if (oPhone.IsConnected)
oPhone.Disconnect();
SetPhoneParameter();
oPhone.Connect();
}
catch (GeneralException ex)
{
oldStatus = string.Format("Erreur de connexion : {0}", ex.Message);
}

2. I send SMS

foreach(DestinataireInfo item in bsDestinataire)
{
try
{
oDestinataire = item;
FrmPrincipal.oPhone.SendSMS(item.Telephone, oMsg);
oStatus = string.Format("Message {0} envoyé avec succès vers {1}.", (++nbrMsgEnv).ToString(), item.Telephone);

}
catch (GeneralException ex)
{
oStatus = string.Format("Erreur d'envoi : {0}", ex.Message);
bgwSendMsg.ReportProgress(-1);
}
finally
{
bgwSendMsg.ReportProgress(nbrMsgEnv);
System.Threading.Thread.Sleep(100);
}
}