Send Response Message via Windows Application

Send Response Message via Windows Application SearchSearch
Author Message
Fahad Ahmed
New member
Username: Fahad

Post Number: 41
Registered: 06-2010
Posted on Friday, July 05, 2013 - 06:00 am:   

Hi Team,

Is it possible to send response to user via windows ( desktop ) application.

such as We only write Response.Write in web Application with the tag Response.ContentType = "text/plain";

Thanking in anticipation
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4563
Registered: 08-2008
Posted on Friday, July 05, 2013 - 05:19 pm:   

Hi,

A 2-way command can be either an HTTP URL (script running on a web server) or a command line program that outputs to a console window.

For scripts, command line processing is usually done through cscript.exe.


Here's a real old example from a past thread: http://support.nowsms.com/discus/messages/1/333.html

There's also a simple command line echo example in the docs: http://www.nowsms.com/doc/2-way-sms-support

--
Des
NowSMS Support
Fahad Ahmed
New member
Username: Fahad

Post Number: 42
Registered: 06-2010
Posted on Monday, July 08, 2013 - 10:36 am:   

Thanks
But my question has slightly a different dimension. okay, I am trying to explain you here

I have Two applications running One is on web ( for receive data from now sms ) and other application is windows ( desktop ) application ( for send response message )

Now my question is how can I submit sms response to now sms because my windows application is running on different machine and now sms is hosted on an other.

if i try to submit sms from the same machine where now sms hosted it successfully send "http://127.0.0.1:8800/?PhoneNumber=+923xxxxxxxxx&Text=test "

but how can I submit sms from the different machine with in the network

Thank You
Fahad Ahmed
New member
Username: Fahad

Post Number: 43
Registered: 06-2010
Posted on Tuesday, July 09, 2013 - 11:34 am:   

I got it