For Programmers: Free Programming Magazines  


Home > Archive > VC Language > January 2006 > Send a SMS (Text Message)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Send a SMS (Text Message)
karibbean

2006-01-09, 11:06 pm

All,

I would like to write a program using VC++ that would send a text message to
a cell phone? How you I do something like that?


Bruno van Dooren

2006-01-09, 11:06 pm

you would have to install an SDK that would allow you to to that.
some GSM manufacturers have such SDKS for their phones, which you can use
via IR or bluetooth.

or some mobile phone operators have web forms with which you can do this for
free. maybe you could write an application that loads such a page and then
uses that to send SMS.

or gsm network operators can sell you their services if you want to pay for
them.

their is no standard windows API to do this, i think.

kind regards,
Bruno.


"karibbean" <sharp_mind@REMOVE.this.email.msn.dotcom> wrote in message
news:u6h3mvWEGHA.2320@TK2MSFTNGP11.phx.gbl...
> All,
>
> I would like to write a program using VC++ that would send a text message
> to a cell phone? How you I do something like that?
>



BobF

2006-01-09, 11:06 pm

On Wed, 4 Jan 2006 22:14:07 +0100, Bruno van Dooren wrote:
[color=darkred]
> you would have to install an SDK that would allow you to to that.
> some GSM manufacturers have such SDKS for their phones, which you can use
> via IR or bluetooth.
>
> or some mobile phone operators have web forms with which you can do this for
> free. maybe you could write an application that loads such a page and then
> uses that to send SMS.
>
> or gsm network operators can sell you their services if you want to pay for
> them.
>
> their is no standard windows API to do this, i think.
>
> kind regards,
> Bruno.
>
>
> "karibbean" <sharp_mind@REMOVE.this.email.msn.dotcom> wrote in message
> news:u6h3mvWEGHA.2320@TK2MSFTNGP11.phx.gbl...

What you want is SMPP. See:
<http://www.smpp.org/>
William DePalo [MVP VC++]

2006-01-09, 11:06 pm

"karibbean" <sharp_mind@REMOVE.this.email.msn.dotcom> wrote in message
news:u6h3mvWEGHA.2320@TK2MSFTNGP11.phx.gbl...
> I would like to write a program using VC++ that would send a text message
> to a cell phone? How you I do something like that?


You would format a message using the Short Message Peer to Peer (SMPP)
protocol and send it to a Short Message Service Center (SMSC). The trouble
is that wireless carriers don't let just anyone connect to their SMSCs as
that would be an invitation to spammers.

Often, though, they provide SMTP to SMTP gateways so that you can send a
mail message to a phone. Actually what you do is compose a message to an
email address where the "name" is the phone's number and the domain is taken
from the carrier's name - something along the lines of tmobile.net or
sprint.net. The carrier's mail server receives the message and forwards it
to its SMSC for delivery to the phone.

Google for SMPP and / or SMSC for information on toolkits, gateways etc

Regards,
Will


AliR

2006-01-09, 11:06 pm

I know you can do it through email

<phoneNumber>@<domain>

Verizon = vtext.com
Sprint = message.sprintpcs.com
Nextel = message.nextel.com
T-Mobile = tmomail.net
cingular = mobile.mycingular.net
AllTel = message.alltel.com

AliR.


"karibbean" <sharp_mind@REMOVE.this.email.msn.dotcom> wrote in message
news:u6h3mvWEGHA.2320@TK2MSFTNGP11.phx.gbl...
> All,
>
> I would like to write a program using VC++ that would send a text message

to
> a cell phone? How you I do something like that?
>
>



AliR

2006-01-09, 11:06 pm

There is also this. But again it's in java.

http://www.jsmsengine.org/about.php

AliR.

"BobF" <rNfOrSePeAzMe@charter.net> wrote in message
news:1qefulf84ibel$.1gniip2v7k5te.dlg@40tude.net...
> On Wed, 4 Jan 2006 22:14:07 +0100, Bruno van Dooren wrote:
>
use[color=darkred]
for[color=darkred]
then[color=darkred]
for[color=darkred]
message[color=darkred]
>
> What you want is SMPP. See:
> <http://www.smpp.org/>



h.naumann@gmx.net

2006-01-30, 4:00 am

Please feel free to have a look on:
http://www.gsm-modem.de/sms.html
and
http://www.gsm-modem.de/gsm-modem-faq.html
Regards
Meff

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com