SendMessage Method

Submits an alphanumeric pager message for processing by the modem paging software.


   obj.SendMessage(strService string, strOperatorID string, strMessage string, [lngPriority] long)
   where obj is an OPScrUtil.PagerJobQueue object 


strService One of the services defined in the modem paging software. Use ConfigureServices to configure paging services.
strOperatorID The unique number for the recipient of the message (PIN).
strMessage The actual text of the message to be sent.
varPriority Optional. A number that represents the relative importance of the message. Messages with higher Priority values will be sent before other pages.

Return Type



To send a page of priority 50 with the text "Hello World" to pager 5551212 on the Skytel service, enter:

   Set obj = CreateObject("OPScrUtil.PagerJobQueue")
   bOK = obj.SendMessage("Skytel (USA)", "5551212", "Hello world", 50)

This example shows how to send a text message to a pager using a modem.