Author Topic: Get data of sending result ?  (Read 988 times)


  • Newbie
  • *
  • Posts: 4
    • View Profile
Get data of sending result ?
« on: December 28, 2012, 10:08:25 pm »

I am sending a message like this code:

  FmyId := Table_Idtable.asInteger;
  nrGSm1.SmsSend( Table_PhoneNumber.Text, 'message', bconfirm_false );
  UpdateSend( Table_Idtable.asInteger ); // procedure to update record

  Table_PhoneNumber.Next; // next record

I want to get data of sending result, using GsmError or SmsSent events:

procedure TForm1.nrGsm1SmsSent()
  setConfirmUpdate( FmyId );

There is a safer way of obtaining accurate record which was sent?

I was using the parameter value aSms of SmsSent event, but this parameter does not have in the event GsmError ..

Thank you!!

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1008
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Get data of sending result ?
« Reply #1 on: March 05, 2013, 09:50:45 am »

SmsSend event provides parameters (Sender: TObject; aMem: String;  idSms: Integer; aSms: TnrPduSms)
You can use them for getting details about result of operation.

Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.