Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
3.71/5 (5 votes)
See more:
hiiiiiiiii i am developing web site which send free sms to client.. and for that i need to send sms from asp.net web application. i am using asp.net framework 3.5. i am already check many web help but that are now working plz.. help me
Posted

To get quick overview for entire SMS application and how it works <a href="http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx">Click here.</a>[<a href="http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx" target="_blank" title="New Window">^</a>]
 
Share this answer
 
v2
Hi
1. First you need a sms server which will send the SMS.
2. using System.Net.Mail
3. create object of MailMessage class
MailMessage email= new MailMessage("xyz@org.com", receipes);

add the required information to the object
email.subject= "mobile number"// this should be the mobile number.
email.TO ="xyz@org.com";
email.From="pqr@org.com"

4. creata SMTPClient object
5. using the above SMTPClient object send the message.
SMTPClient objClient= new SMTPClient();
objClient.send(email);
6. so your server will send the SMS to the Numbers which are added in the Subject.


Hope this will help. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900