The text of this article is not in this database — only its details are. Read it on the old site: Send Text Message to Cell Phones from a VB.NET Application
30 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.

Siddhesh ThakurPosted Aug 5, 2012, 9:48 AM
Hello. I've been searching for this for quite some time now.Finally I found this article but I'm not able to send message and am getting an exception at line 102:Mysmtpclient.send(message) Can somebody please help me out?
Siddhesh ThakurPosted Aug 5, 2012, 9:48 AM
Hello. I've been searching for this for quite some time now.Finally I found this article but I'm not able to send message and am getting an exception at line 102:Mysmtpclient.send(message) Can somebody please help me out?
Siddhesh ThakurPosted Aug 5, 2012, 9:48 AM
Hello. I've been searching for this for quite some time now.Finally I found this article but I'm not able to send message and am getting an exception at line 102:Mysmtpclient.send(message) Can somebody please help me out?
Sophie MortimerPosted Jul 2, 2012, 4:13 PM
I used to be able to send texts online to mobile phones when I lived in Ireland. However, since moving back to the U.S., I can't seem to figure it out. Do <a href="http://www.commpro.ca">telephone equipment systems</a> just not work the same way here for cell phones? Any insight would be appreciated!
hannachi rimPosted May 7, 2011, 9:42 PM
can i use a cable USB to test if this application work whith a phone connected by this cable
vincent mapalalaPosted Mar 4, 2011, 3:22 PM
i didn't understand how to generate carrier list, interesting article iwant to learn applications using cell phones
franz nathaniel batinPosted Jan 23, 2011, 1:14 PM
gud day sir i have a sequence in my project...what if the sensor of the tank activated the gsm in vb to send through the cell phone??correct sample.." the tank is empty. would you like to refill the tank? yes or no..?? " if i send the " yes " on gsm in vb the velve will be open..pls help me on this project i'm newbie in vb...tnx and godbless
Harley EngholmPosted Nov 14, 2010, 1:25 PM
The sms2cell code was exactly what I was looking for. A simple program that will be easily interfaced with my application. I have made some changes to suit my app and it works great. Thank you! Hemicro
maggie naduPosted Jul 23, 2010, 3:29 PM
error meaasge... The SMTP server requires secure connection or the client was not authenticated... and it also throws an Exception... please help me
Mohamad AshikPosted Apr 2, 2010, 7:19 AM
please reply me
krunal panchalPosted Feb 22, 2010, 1:29 AM
this code does'nt works explain me why
Dilip KumbharPosted Jan 24, 2010, 12:51 AM
Can you explain Recipient's Cellular Carrier and Sender's Mail Server ? When I try to send message it gives error as, Failure sending mail.
mikias mulugetaPosted Dec 11, 2009, 10:35 PM
how is it possible to recieve messages?
Daniel TibbottsPosted Oct 14, 2008, 4:30 PM
Hi there I use the following code (below) and get a confirmation message that the message was sent, however I have not yet received a text message on my mobile Here is the code I am using, . . I placed it in a module and called it in the form_load event (just on a trial basis) Many Thanks daÑÏ£L ----------------------- Imports System.Net.Mail Module Send_SMS_Module #Region "Declarations" ' message elements Private mMailServer As String Private mTo As String Private mFrom As String Private mMsg As String Private mSubject As String #End Region Public Sub SendText() ' Collect user input from the form and stow content into ' the objects member variables mTo = Trim("273301107") & _ Trim("@sms.net.nz") mFrom = Trim("[email protected]") mSubject = Trim("Hello") mMailServer = Trim("smtp.xtra.co.nz") mMsg = Trim("Text Message") ' Within a try catch, format and send the message to ' the recipient. Catch and handle any errors. Try Dim message As New MailMessage(mFrom, mTo, mSubject, mMsg) Dim mySmtpClient As New SmtpClient(mMailServer) mySmtpClient.UseDefaultCredentials = True mySmtpClient.Send(message) MessageBox.Show("The mail message has been sent to " & _ message.To.ToString(), "Mail", _ MessageBoxButtons.OK, _ MessageBoxIcon.Information) Catch ex As FormatException MessageBox.Show(ex.StackTrace, ex.Message, _ MessageBoxButtons.OK, _ MessageBoxIcon.Error) Catch ex As SmtpException MessageBox.Show(ex.StackTrace, ex.Message, _ MessageBoxButtons.OK, _ MessageBoxIcon.Error) Catch ex As Exception MessageBox.Show(ex.StackTrace, ex.Message, _ MessageBoxButtons.OK, _ MessageBoxIcon.Error) End Try End Sub End Module
Tariq AzizPosted Aug 19, 2008, 5:13 AM
I have a problem with this code. I install vb.net 2003 and the code is in vs 2005 therefore the when I run the program an error occurs that is 'Namespace or type Mail for the System.Net.Mail not found'
salman qaziPosted Aug 15, 2008, 4:21 PM
hi scott i am from india. i am very new to the concept of programming itself.i started learning vb.net outof sheer curiosity.But now i am very fond of it.i want to learn it in depth. i do not have the resources to learn it.i want to learn vb.net and network programming in vb.net .please tell me any links and the names of the books that teach vb.net and network and internet programming in vb.net from the grassroot level
salman qaziPosted Aug 15, 2008, 4:19 PM
hi i am very new to vb.net. tell me how can i learn vb.netand network programming from the grass root level.also tell me name of some of the good and lucid books for the same purpose.i am very fond of vb.net and network programming.but i do not have the resources to learn them
Ershad AliPosted Mar 10, 2008, 6:32 PM
i have developed one desktop application for jewellery shop now in that i want to get current rate of gold from internet. Please give any sollution for this if u guys know
saran basPosted Mar 4, 2008, 10:52 PM
plz send me the project code for sending sms to mble for asp.net1.0 plz plz send me soon...... already i tk a project from this site. bt it shows too many errors.
Thosanjith MedagodaPosted Jan 1, 2008, 3:40 AM
Can i use the above code to send sms with vb(2003)
Sridhar ManoharanPosted Dec 28, 2006, 12:46 AM
hi scott, iam using vs.net 2oo3 and framework 2.0 and in my application i was not able to import the namespace system.net.mail i dont know whether it is applicable in vs.net 2005 only. is it possible in vs.net 2003? pl help me on this. its very urgent thanks in advance
WindartoeditedPosted Sep 4, 2006, 3:59 AMEdited Oct 12, 2006, 3:55 PM
Hi, I'm Windarto I'm new in VB Net. I have problem when i'm trying to implement your code at my VB Net. Base on your code, you write on the Top of Code is Import System and Imports System.Net.Mail, but when I type Import System.Net, no methods or namespace MAIL, so when i do compile, i got some error like this Type 'mailMessage' is not Defined, Type 'smtpClient' is not defined, and Type 'smtpException' is not defined. So what I have to do, Thanks. Regard Windarto
Mahesh JoshiPosted Aug 30, 2006, 2:05 AM
Hi, I am writing a desktop application in VB.Net and I want to get current location of the specific cell phone, so can we get current location of the cell phone with some modifications in this code? If yes? Please tell me how can I achive this? I am badly stucked up at this point. Please help me. Thanks in advance. Mahesh