• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 32. Integrating with SMS and IM > Generating SMS Messages

Generating SMS Messages

Once you have your gateway defined, it is time to write your first SMS application and start sending some text messages. For the time being, let's put this in a test file:

<cfscript>
        msg = structNew(); 
        msg.command = "submit"; 
        msg.destAddress = "5551234"; 
        msg.shortMessage = "Hi from ColdFusion!";   
        ret = sendGatewayMessage("Helpdesk - 5551212", msg); 
</cfscript>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint