Link to home
Start Free TrialLog in
Avatar of imrama
imrama

asked on

sending text messages to mobile phone

Hi,
Ive researched the internet and it seems the easiest way to do this is to using an email specific carrier and that most providers have one.  I have tried the following:
O2: username@o2.co.uk (note: recipient must have signed up for a user name)
Orange: phonenumber@orange.net (note: recipient must have signed up for email-to-text service)
T-Mobile: phonenumber@-mobile.uk.net
Vodafone: username@vodafone.net (note: recipeint must have signed up for a user name)

None of them seem to work.  Anyway the main question is does anyone have code to send an message to a mobile using this method or some other form.  Can you set up an email server on most open source j2ee servers or would something like apache james be the best one to use?  Also if im using a dynamic IP address does it matter for using a mail server i.e. server is runing on localhost and localhost is on a wireless network with a dynamic IP provided by an ISP.

Also is it possible to receive messages from a mobile?
Avatar of mrcoffee365
mrcoffee365
Flag of United States of America image

We send emails to Verizon and Cingular email addresses and they work.  Format:
[phone number]@txt.att.net
[phone number]@cingularme.com


Are you sure that you have the right email addresses for your various carriers?  Or the correct domains?

We use simple javax.mail classes.  It doesn't matter about the mail server, because you are sending to a domain.  

If you want to receive emails, then you will need an email server which you can set up listeners for, or have forward to a listening app that you've written.  Apache  James should be fine.
Avatar of imrama
imrama

ASKER

no thats fine in the US but not in the UK which is where im based.

To be honest I'd rather go down the route of sending using a SMSC number or something as in the UK the provider just notify a person that they have a message in their email inbox....only some will allow forwarding to their phone if they hyave emial setup on their phone   .  I'm suprised there isn't a way to do this.
I picked what I thought might be a large carrier in the UK, and googled for sending email.  Found this excellent discussion about how to send email to T-Mobile phones in the UK, and what some potential issues are:
http://www.esato.com/archive/t.php/t-43854,1.html

Have you tried the steps outlined in that discussion?
Sending SMS messages is not hard, either -- why can't you do that?
Avatar of imrama

ASKER

i can do that, but i dont know how to do it thats the problem.

I assume you mean to send messages using an SMSC number, but do you not need that connected to a phone in order to send the actual messsage and how would you receive messages?

Can you post code on how to send an sms message?
ASKER CERTIFIED SOLUTION
Avatar of mrcoffee365
mrcoffee365
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of imrama

ASKER

Thanks MR Coffee"

Ok, maybe i should have been clearer, the initial question was meant as a way to find out if it was possible to use SMTP as a protocol to send Text Messages to UK mobiles via the operators username/email address e.g. your_username@02.co.uk.  However I found as mentioned in my first post that this didn't work with a lot of providers, and those that seemed to work, only told ther person that a message waited for them on their account, which isn't what I wanted to do.  I want to be able send a message to the phone without a user having to send an email something like this site:
http://www.cbfsms.com/

I see that this has gone into Javamail as the primary zone so sorry for the confusion.  I have tested the email stuff mentioned in the first thing you sent me by simply using the following emails as examples:
name@o2.co.uk
phonenumber@t-mobile.uk.net
from my normal email address and this doesn't send an actual text message to the phone, the provider sends a text message to the phone saying that there is an email in the inbox.

"In terms of SMS, here are some links with discussion of how to do it:
http://www.wirelessdevnet.com/channels/java/features/simplewire/"
So using this third party software i can send a text message to a phone?




Avatar of imrama

ASKER

unfortunately its seems no longer available the Simplewire third party software, but if this is what you are saying that you can use third party software to send text messages to a mobile phone then that is exactly what i am after.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
a quick google later and here you go:

Kannel, UniPro, and Simplewire,
Avatar of imrama

ASKER

still not doing what i want though.  its not free.
I think points should be awarded.  The question was asked, we answered, and we provided useful information.
Recommendation: Accept answer 23050349 from mrcoffee365 and 23050788 from pronane.   We gave answers and alternatives to the answers.