IT Community - Software Programming, Web Development and Technical Support

Do we have facilities to send SMS thru asp?

This is a discussion on Do we have facilities to send SMS thru asp? within the Other Web Programming Languages forums, part of the Web Development category; Do we have facilities to send SMS thru asp?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Other Web Programming Languages

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-16-2007, 10:20 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Do we have facilities to send SMS thru asp?

Do we have facilities to send SMS thru asp?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-29-2007, 11:54 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 632
oxygen is on a distinguished road
Thumbs up Re: 1. Do we have facilities to send SMS thru asp?

Hi Buddy,


Yes, you can send SMS thru your ASP Page.

Code:
<html>
  <HEAD>
    <BODY>

      <p>Sending XML <br>
		
	<%  
	    
'========================================================
'This code requires a user account with http://www.2sms.com
'Register now for a free no obligation trial of the service
'Simply call this method with the username and password you
'choose on the site and include a message and destination
'
'REQUIRES: Microsoft's XML Parser
'========================================================


	    'Insert your username and password (as used to log on to the website) here

	    	UserName = "USN"
	    	PassWord = "PWD"
		Message = "Testing SMS"
		Destination = "447788123123"
	

	    'sample of how to retrieves the message and number from a previous posting page

	    	'Message = request.form("message")
	    	'Destination = request.form("number")



	   
	    'form up the first segment of XML 

		strfirstpart= "<?xml version=" & Chr(34) & "1.0" & Chr(34) & "?> " & _
		"<Request xmlns:xsi=" & Chr(34) & "http://www.w3.org/2001/XMLSchema-instance" & Chr(34) & " 

xsi:noNamespaceSchemaLocation=" & Chr(34) & "http://schema.2sms.com/1.0/0410_RequestSendMessage.xsd" & Chr(34) & " Version = " & 

Chr(34) & "1.0" & Chr(34) & ">" & _
		"<Identification>" & _
		"<UserID><![CDATA[" & username & "]]></UserID>" & _
		"<Password>" & password & "</Password>" & _
		"</Identification>" & _
		"<Service>" & _
	    	"<ServiceName>SendMessage</ServiceName>" & _
    		"<ServiceDetail>"
 
	    
	    '
	    'Form up the middle of the XML. To send multiple messages within one document insert 
	    'multiple SingleMessage nodes (eg loop through the code below to add the strMidPart string 
	    'several times). Your document may contain up to 500 SingleMessage nodes.
	    '
	    
	    strMidPart = strMidPart +"<SingleMessage><Destination>" & Destination & "</Destination><Text><![CDATA[" & Message & 

"]]></Text></SingleMessage>"
	    
	    'form up the bottom of the xml document

	    strEndPart = 	"</ServiceDetail>" & _
			    	"</Service>" & _
				"</Request>"

	    'Concatonate all 3 strings to form complete xml document for sending
	    XMLstring = strFirstPart + StrMidPart + strEndPart
	    
	%>

	outgoing XML 
	<textarea name="textfield" cols="50" rows="10"><%=XMLstring%>
This code shows how to use the XML Interface provided by http://www.2sms.com to sedn text messages from within an ASP page using VBScript. This code requires a username from www.2sms.com - register now for a free trial account with no obligation. It also relies on the Microsoft XML Parser.

Hope Usefull.
__________________
The OXYGEN
Delivers edgy, intelligent Technology to all...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-03-2007, 01:39 AM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Thumbs up Re: 1. Do we have facilities to send SMS thru asp?

SMS gateway is independent.we can integrate in most of the web programming (ASP,ASP.NET,PHP,etc..)supports SMS gateway...

SMS gateway is independent service to provide messaging
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-01-2009, 02:04 AM
garuav123456 garuav123456 is offline
Banned
 
Join Date: Sep 2009
Posts: 31
garuav123456 is on a distinguished road
Default Re: Do we have facilities to send SMS thru asp?

You can send sms thru asp with the help of a code hear a site that will help you for it. you can get the best example of this code on webdesigningcompany.net
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 12-08-2009, 09:40 PM
ariftravel ariftravel is offline
D-Web Trainee
 
Join Date: Dec 2009
Posts: 6
ariftravel is on a distinguished road
Default Re: Do we have facilities to send SMS thru asp?

Hi
You can send Sms through asp because their are a lot of websites are using this process for Sms purposes.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
every one send from email forge bluesky Networking & Internet Connectivity 2 08-05-2009 07:01 PM
Send SMS using web service shaalini ASP and ASP.NET Programming 1 04-22-2008 02:21 AM
how to send mail from php? sureshbabu PHP Programming 4 04-03-2008 01:21 AM
How to Send mail using dot net ...? a.deeban ASP and ASP.NET Programming 9 01-17-2008 08:20 PM
send the sms using SMS/MMS Gateway in php varghese PHP Programming 1 09-18-2007 07:32 AM


All times are GMT -7. The time now is 06:26 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0