hi swapy ,

what u need..to send sms from the systeem naa,,then u need some provider
such as way2sms or others for that..

here is the code for that  for using this u have to reister in way 2 sms.com

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" width="380" height="168">
     <mx:Script>
  <![CDATA[
      import mx.events.ValidationResultEvent;
   import mx.rpc.events.ResultEvent;
   import mx.controls.Alert;
   public function res(e:ResultEvent):void
   {
    Alert.show('Send');
   }

   public function send():void {
       WS.getOperation('sendSMSToMany').send();

   }
  ]]>
 </mx:Script>
 <mx:WebService id="WS" wsdl="http://www.aswinanand.com/sendsms.php?wsdl";
showBusyCursor="true">
 <mx:operation name="sendSMSToMany" result="res(event)">
  <mx:request>
   <uid>
    {user.text}   <!--enter your login id here-->
   </uid>
   <pwd>
    {password.text}   <!-- enter your password-->
   </pwd>
   <phone>
    {phn.text}
   </phone>
   <msg>
    {sms.text}
   </msg>
  </mx:request>
 </mx:operation>
 </mx:WebService>
 <mx:Button click="send()" x="138" y="140" label="Send SMS"/>
 <mx:TextArea x="22" y="79" height="50" width="324" id="sms" maxChars="92"
change="maxchar.text = sms.text.length.toString()"/>
 <mx:TextInput x="182" y="27" id="phn"/>
 <mx:Label x="6" y="30" text="Please Enter Mobile Number :" color="#FF0000"
fontWeight="bold"/>
 <mx:Label x="53" y="53" text="Type your SMS Here : " fontWeight="bold"
color="#FF0000"/>
<mx:TextInput id="user"   x="181" y="24" visible="false" />
<mx:TextInput id="password" x="181" y="60" displayAsPassword="true"
visible="false"   />
 <mx:Label  x="245" y="134" text="Max Char (92):" fontWeight="bold"/>
  <mx:Label id="maxchar" x="335" y="134" />
    <mx:Label x="77" y="5" text="Send SMS To All" width="213"
fontWeight="bold" textAlign="center"/>

</mx:WindowedApplication>


regards
GK

On Tue, Jan 20, 2009 at 4:37 PM, swapy <[email protected]> wrote:

>
> Hi can anyone tell me how to send sms to various operator across india
> using website.kindly send me the code if u have any as i m just a
> starter
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to