Cold Fusion

SMS Scripts - Cold Fusion

Shreeweb provides you with some ready-made scripts that are available to help you connect to our gateway through your chosen programming language. These scripts all work with the HTTP API. Click here ot Contact Us and try our service.

Send SMS with Cold Fusion:

Use the Cold Fusion (CFM) code below to send SMS via the Shreewebl SMS Gateway. Simply Contact Us for an HTTP API account, and you will receive an test account with free credits to try our service.

Code Sample:

Page 1.
<form action="Page2" method="post">
To:<input type="Text" name="to">

Message:<input type="text" name="text">

<input type="submit" value="send">

Page 2.
<cfhttp url="" method="POST" resolveurl="false">
<cfhttpparam type="FORMFIELD" name="user" value="xxxxxxx">
<cfhttpparam type="FORMFIELD" name="password" value="xxxxxxx">
<cfhttpparam type="FORMFIELD" name="text" value="#form.text#">
<cfhttpparam type="FORMFIELD" name="to" value="">

Last Updated on Monday, 09 November 2009 01:53
Copyright © 2022 Shreeweb | All Rights Reserved.