Send SMS Text Messages Worldwide from any Computer - iPiPi.com Login to iPiPi Personal Accounts Corporate SMS Partners About iPiPi.com Contact iPiPi.com
 
 

Send Text Message using VB.NET

Text messages - Send SMS - International Messaging Service

Example code to send text messages written in VB.NET.

 

Imports System.Web.Mail
.
.
.
Dim toPhoneNumber As String = "DestinationPhoneNumber";
Dim login As String = "YoureIPIPIUsername"
Dim password As String = "YourPassword"
Dim compression As String = "Compression Option goes here - find out more"
Dim body As String = "Your Message"
Dim mail As System.Web.Mail.MailMessage = 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)

Note:
This implementation requires .Net Framework version 1.1 or higher.

 
 

Home - Contact Us - Privacy Policy - Terms of Service - Help - Links - Site Map
International SMS - SMS - SMS Messaging - Text Message - Send SMS - Email to SMS - WEB to SMS
Copyright 2001-2007 Upside Wireless Inc. All rights reserved