473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SMS Messaging from a Windows form

RSH
Hi,

Im looking for some sample code on sending an SMS message to my cell phone
from a C# Windows form project...does anyone know of any?

Thanks,
Ron

Mar 24 '06 #1
10 13276
You need an SMS gateway, even to use your mobile phone. Usually you deliver
an http request to the gateway, which is easy to do via .net but there are
no native libs for sending SMS messages.

Try looking at something like SMSnow
http://www.nowsms.com/documentation/...S_Messages.htm

--
Regards

John Timney
Microsoft MVP

"RSH" <wa*************@yahoo.com> wrote in message
news:OF**************@TK2MSFTNGP14.phx.gbl...
Hi,

Im looking for some sample code on sending an SMS message to my cell phone
from a C# Windows form project...does anyone know of any?

Thanks,
Ron

Mar 24 '06 #2
RSH wrote:
Hi,

Im looking for some sample code on sending an SMS message to my cell phone
from a C# Windows form project...does anyone know of any?

Thanks,
Ron From my understanding, all it takes is knowing the provider of the

cellphonecarriersmailserver.com and knowing cell phone number / then
writing a c# app which opens a socket to a specific providers
mailserver on port 25 and sending mail to the
ce********@cellphonecarriersmailserver.com

Mar 24 '06 #3
Here's a few popular ones

Verizon: @vtext.com
Nextel: @messaging.nextel.com
Tmobile: @tmomail.net
Cingular: @mmode.com
Sprint: @messaging.sprintpcs.com

Mar 24 '06 #4
Hello RSH,

As was mentioned you need to find you SMS Gateway and clear out what format
it takes to send sms
There are several formats for this, http request, mail request and etc.

R> Im looking for some sample code on sending an SMS message to my cell
R> phone from a C# Windows form project...does anyone know of any?
R>
R> Thanks,
R> Ron
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Mar 25 '06 #5
Hello RSH,

another opportunity is to connect your mobile via serial interface and
communicate with it using AT commands. You need serial comm library and AT
list of the phone manufacturer.

Cheers,
Martin

PS: if needed I can send you my 2 yers old sources doing this stuff. Contact
me at po****@seznam.cz
"RSH" <wa*************@yahoo.com> píše v diskusním příspěvku
news:OF**************@TK2MSFTNGP14.phx.gbl...
Hi,

Im looking for some sample code on sending an SMS message to my cell phone
from a C# Windows form project...does anyone know of any?

Thanks,
Ron

Mar 25 '06 #6
RSH,
As John mentioned, without a gateway or a webservice that will translate and
send your message, there is no way to natively send SMS unless you have a
GPRS modem connected to your machine.

However, there's a free service "teleflip.com" that will send an SMS message
to any phone from any carrier by just sending off an email to
<phonenumber>@teleflip.com. Check out their website for details.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"RSH" wrote:
Hi,

Im looking for some sample code on sending an SMS message to my cell phone
from a C# Windows form project...does anyone know of any?

Thanks,
Ron

Mar 26 '06 #7
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/tex...l?mode=details
ˇ http://www.notepage.net/smtp.htm
ˇ http://simpleforce.net/fastsms/cellpro.html
ˇ http://www.mymobileguardian.com/MG_Conventions.htm

A free .NET based SMS library is available at
http://www.scampers.org/steve/sms/libraries.htm. Maybe this one will help
you.

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://emoreau.s2i.com/

"RSH" <wa*************@yahoo.com> wrote in message
news:OF**************@TK2MSFTNGP14.phx.gbl...
Hi,

Im looking for some sample code on sending an SMS message to my cell phone
from a C# Windows form project...does anyone know of any?

Thanks,
Ron

Mar 27 '06 #8
RSH
That is perfect!

Basically I was just sending a text message to my cellphone based on the
completion of several Scheduled Maintenance tasks...sending an email to the
Bellsouth gateway did the trick!

Ron

"Eric Moreau" <er*********************@videotron.ca> wrote in message
news:eu**************@TK2MSFTNGP10.phx.gbl...
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/tex...l?mode=details
ˇ http://www.notepage.net/smtp.htm
ˇ http://simpleforce.net/fastsms/cellpro.html
ˇ http://www.mymobileguardian.com/MG_Conventions.htm

A free .NET based SMS library is available at
http://www.scampers.org/steve/sms/libraries.htm. Maybe this one will help
you.

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://emoreau.s2i.com/

"RSH" <wa*************@yahoo.com> wrote in message
news:OF**************@TK2MSFTNGP14.phx.gbl...
Hi,

Im looking for some sample code on sending an SMS message to my cell
phone from a C# Windows form project...does anyone know of any?

Thanks,
Ron


Mar 27 '06 #9
Hi,

This is a list of the providers, I do it with cingular and sprint and it
works great

T-Mobile: ph*********@tmomail.net
Virgin Mobile: ph*********@vmobl.com
Cingular: ph*********@cingularme.com
Sprint: ph*********@messaging.sprintpcs.com
Verizon: ph*********@vtext.com
Nextel: ph*********@messaging.nextel.com
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"RSH" <wa*************@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
That is perfect!

Basically I was just sending a text message to my cellphone based on the
completion of several Scheduled Maintenance tasks...sending an email to
the Bellsouth gateway did the trick!

Ron

"Eric Moreau" <er*********************@videotron.ca> wrote in message
news:eu**************@TK2MSFTNGP10.phx.gbl...
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/tex...l?mode=details
ˇ http://www.notepage.net/smtp.htm
ˇ http://simpleforce.net/fastsms/cellpro.html
ˇ http://www.mymobileguardian.com/MG_Conventions.htm

A free .NET based SMS library is available at
http://www.scampers.org/steve/sms/libraries.htm. Maybe this one will help
you.

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://emoreau.s2i.com/

"RSH" <wa*************@yahoo.com> wrote in message
news:OF**************@TK2MSFTNGP14.phx.gbl...
Hi,

Im looking for some sample code on sending an SMS message to my cell
phone from a C# Windows form project...does anyone know of any?

Thanks,
Ron



Mar 27 '06 #10
lol i could have sworn i already posted these....

Apr 3 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project...
5
by: Dave | last post by:
How do I check in a Windows Forms app if any controls have changed? I have a form that collects data, and I want to prompt the user if they try to exit the app, or load a new file, without saving...
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
3
by: Lucas Tam | last post by:
Hi all, Assuming I've built a windows form application... how do I connect it to a web service? All the examples of web services I've seen pertain to stand alone applications. Basically,...
8
by: Alison | last post by:
Hi, Al I am trying to design a user interface which provides both menus and toolbars for some users to click on whatever they want to do, at the same time, I would like to have a console window...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
9
by: mohit.akl | last post by:
Hey guys & gals I am havng trouble modifying the control box. I want to make the maximise button invisible and have minimisise button instead of it. Like this _ X (not like _ o X ) How...
2
by: Budhi Saputra Prasetya | last post by:
Hi, I managed to create a Windows Form Control and put it on my ASP .NET page. I have done the suggestion that is provided by modifying the security settings. From the stack trace, I would...
7
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.