CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2010
    Posts
    20

    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.

  2. #2
    Join Date
    Jul 2010
    Location
    Watch Window
    Posts
    87

    Smile 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
  •  





Click Here to Expand Forum to Full Width

Featured