|
-
October 10th, 2010, 07:07 AM
#1
Free web service to send sms
Does anybody knows about free webservices to send sms?
I familiar with servicex.net but the address of the web service dows not much nothing.
any idea can help.
Thank you all.
-
October 10th, 2010, 08:16 AM
#2
Re: Free web service to send sms
This might be helpful to you !!!.
Code:
using System.Web.Mail:D;
.
.
.
string toPhoneNumber = " DestinationPhoneNumber";
string login = " YoureIPIPIUsername";
string password = " YourPassword";
string compression = " Compression Option goes here - find out more";
string body = " Your Message";
System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage();
mail.To = toPhoneNumber + "@sms.ipipi.com";
mail.From = login + "@ipipi.com";
mail.Subject = compression;
mail.Body = body;
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", login);
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", password);
System.Web.Mail.SmtpMail.SmtpServer = "ipipi.com";
System.Web.Mail.SmtpMail.Send( mail );
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|