Click here to Skip to main content
15,907,906 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 web application. i am using framework 3.5. i am already check many web help but that are now working plz.. help me

To get quick overview for entire SMS application and how it works <a href="">Click here.</a>[<a href="" target="_blank" title="New Window">^</a>]
Share this answer
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("", receipes);

add the required information to the object
email.subject= "mobile number"// this should be the mobile number.
email.TO ="";

4. creata SMTPClient object
5. using the above SMTPClient object send the message.
SMTPClient objClient= new SMTPClient();
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