SMS Messaging from a Windows form

R

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
 
J

jebuskrust

RSH said:
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
(e-mail address removed)
 
J

jebuskrust

Here's a few popular ones

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

Michael Nemtsev

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
 
M

Martin Brozek

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 (e-mail address removed)
 
G

Guest

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
 
E

Eric Moreau

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

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/
 
R

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

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

T-Mobile: (e-mail address removed)
Virgin Mobile: (e-mail address removed)
Cingular: (e-mail address removed)
Sprint: (e-mail address removed)
Verizon: (e-mail address removed)
Nextel: (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top