How to send a text message in VB.NET

I have a VB.NET application and I want to send a text message after it finished to my mobile phone,
how to do that. I imported a namespace called System.Web.Mobile but I don't know how to code
around and I want to see some examples. If there are any methods to send text message to mobile
phone in VB.NET I would like to see the examples.

NOTE: SINCE I DON'T HAVE MANY POINTS PLEASE ACCEPT THIS.

Thanks
VM
vmandemAsked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
You can send a regular e-mail to send a SMS. The trick is to find the gateway related to the provider of the cell phone you are trying to reach. These can help:
·     http://www.livejournal.com/tools/textmessage.bml?mode=details
·     http://www.notepage.net/smtp.htm
·     http://simpleforce.net/fastsms/cellpro.html
·     http://www.mymobileguardian.com/MG_Conventions.htm
0
 
LacutahCommented:
Does your mobile phone support recieving of e-mails?  You may want to go that route instead...  
0
 
vmandemAuthor Commented:
I don't want to use the e-mail because then I have to access the internet and all the stuff. I just want to see a text message, how to do that
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
LacutahCommented:
emoreau - you're good!  
0
 
vmandemAuthor Commented:
emoreau

Any idea what t-mobile uses and any code example how to send it. I send an e-mail message through smtp server of my company to myself , should I use phone number instead of e-mail address. Can you be more clear on this.

Thanks
vm
0
 
vmandemAuthor Commented:
emoreau

It worked perfectly. I sent an attachement of type text and it cam but when I open it says the message the attachment failed, what could be the reason.

Thanks so much
VM
0
 
Éric MoreauSenior .Net ConsultantCommented:
it is surely is the phone number but you have to provide the provider gateway.

for example, my provider is Bell Canada. To send a SMS via e-mail, I have to send the e-mail at 1235551212@bell.txt.ca (where 1235551212 is my cell phone number).

have a look at the links I gave you to find your provider gateway.
0
 
Éric MoreauSenior .Net ConsultantCommented:
does sms supports attachements ? I never tried it!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.