A bit more detail
On my phone there is an SMS preferences screen where I get to enter a SMS Message Center Number and a SMS E-Mail Center Number.
When I called Cingular (our local GSM carrier) they never heard of the second one, but eventually we figured out that what my phone called an email center number was what they referred to as a 'routing number.' Given that I finally had the phone configured, they said the way I did email was the same for other phones they carry (Motorola, Nokia, Ericsson, VisorPhone). This is to simply make the 'to' address the routing number.
I just checked and all the email center number configuration does is set the routing number in a little drop down box so I don't have to remember the code. If I just type in 121 as the 'to' address, the SMS message arrives in my inbox fine and if I reply, it goes to the phone fine.
Try just sending the message to your routing number with your email address as the first element of text then a space, then your message.
As far as a site reference, I have two SMS references. For my server programming, its just Java Mail. I suppose you could partner with a carrier and they may give you an API for directly accessing their SMS server, but I am not familiar with how those servers work. If you would like to have emails coming into your users inbox be relayed to their SMS phone, check out the monitor.java sample program that downloads with Java Mail.
SMS and the PDU format
SMS specification
posted by J Slave 7/19/2001
How to retrieve sms messages from mobile phones
On a mobile phone, you use an email center number. This is not the same as an SMS message center number. Your carrier may not call it this. Cingular calls it a routing number. Anyway, its a three digit number. For Cingular its 121, on VoiceStream, its 500.
So, you must set up your phone's SMS client to know that its email center number is xxx. Different on each phone, I suppose. Once done, you start your sms message with an email address, then a space, then your message. Essentially, the carrier will get the message and send it to the email recipient for you.
Its just the inverse of what you have done. You send email to an address phonenumber@server.net and the carrier passes the email to the phone as SMS, right?
So for your computer to get the SMS message, it just listens to the email box the phone user places in the first part of their sms message (use Java Mail)
You just use the routing number as the to address and then start your message with the email address you wish to send to followed by a space, followed by the text message. So, the emailid is the first portion of the text message and the carrier parses it and forwards the message to that emailid. I did not have to adjust any settings to the phone.
I don't know how to pull sms from a mobile device. Each message has a short lifetime during which it lives at he carrier's network operations center until it is sucessfully sent to the mobile device. I think it ceases to exist once the device recieves it unless the device stores it in its own memory. If it were possible to pull SMS from the carrier's network operations center, you would need a Provider for the protocol. For example, you use imap or pop3 to get email with a line like: Store store = session.getStore("pop3"). There is a NNTP Provider also. You can find the NNTP here Knife. If a Provider exists for SMS, it would be through a third party and is not distributed with the JavaMail API. Most likely, you would need to be in a carrier specific developer program in order to gain access to a Provider for them.
You may get better info from the JavaMail forum at jGuru.com. The forum manager is guru John Zukowski who will anser in person and is the author of the Java Mail tutorial at java.sun.com.
posted by J Slave 7/19/2001
I have started preparation for the SCJP exam. I found a few testing simulators and thought I'd try to keep a consolidated list here. I tried JQ+. Its great for testing and determining if you are ready for the test, but not as a study aid. I like to run through tests with instant feedback on why I was wrong as a learning aid. JQ+ won't tell you why you were wrong, but it has 640 questions to score you and let you know when your are hiting the required 71%. Liks for some simulators are:
http://www.whizlabs.com/products/javawhiz/try.html for jwhiz ($30)
http://www.lanw.com/java/javacert/ for Bill Brogden's applet with test questions (free)
http://www.enthuware.com for JQ+ discussed above ($20)
http://jquest.webjump.com/ for JQuest ver 0.9 (freeware)
http://www.urlinked.com/trial/trial.htm for JPrep ($35)
http://www.geocities.com/SiliconValley/Orchard/9362/java/javacert/JDCert.html for JDCert (Free)
http://eddiemcnally.hypermart.net/jxam.html for Jxam (Free)
http://www.mayaconsultancy.com/maya/gesjava.html to learn about gEs, but there is no way to actually buy it!
http://www.amazon.com/exec/obidos/ASIN/0782130089/o/qid=994773444/sr=2-1/ref=aps_sr_b_1_1/103-5523904-2602258 for the sybex virtual test center ($45)
These sites have lists of mock exams you can take on th net:
http://www.javaranch.com/maha/_Mock_Exams/_mock_exams.html for Maha Anna's big list of Mock Exam sites.
http://www.levteck.com/ has a list of 51 Mock Exam sites
http://www.geocities.com/SiliconValley/Orchard/9362/java/javacert/ another handy cert site.
Marcus Green notes: Oracle 8.1 has a JVM in the database and Oracle is in bed with Sun/Netscape/IBM etc so when you have passed the programmers exam, how about becoming qualified on Oracle. See http://www.orastudy.com for more.
posted by J Slave 7/10/2001