|
|||
|
The send() method:
Send Sends a (text-only) SMS message to a single addressee or to a list of addressees. Sintax: HRESULT Send ([in, out] BSTR Msg, [in, out] BSTR Address, [in] VARIANT_BOOL flash, [in] VARIANT_BOOL request_report, [out, retval] LONG *BatchID); Function Send (Msg As String, Address As String, flash As Boolean, request_report As Boolean) as Long Parameters: Msg the SMS message to send (text only, max. 160 characters) Address adressee phone number or slash (/)-separated list of phone numbers (up to 65535) flash boolean value: if non-zero a flash message is sent; if zero, a normal one is sent request_report boolean value that tells the GSM terminal whether a “delivery notification” (STATUS REPORT) is to be asked for each one of the sent messages Notes: 1) The function returns a Long ([out, retval] BatchID parameter, in C++) containing the ID of the current batch. This value is the same used in the Sent event. 2) The request_report parameter specifies whether the GSM network is to be asked for delivery report per each of the messages actually sent. If Send succesfully sent a message with ID 15, a Report event (see below) will be raised wich Message_Ref parameter is 15. 3) The Send method returns as soon without expecting for the message(s) being actually sent. It doesn't make any sense to me. Could someone explain? |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|