473,396 Members | 1,757 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,396 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 13278
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.