471,089 Members | 1,126 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

how 2 use email server to send sms?

i wanna create program(using java) that use email server to send messages to my cell phone .....

i have been searcing for tutorials but i didn't find alot ....

i need more information to start coding if u knew any think about this topic pls help me out...
Mar 8 '07 #1
4 2270
r035198x
13,262 8TB
i wanna create program(using java) that use email server to send messages to my cell phone .....

i have been searcing for tutorials but i didn't find alot ....

i need more information to start coding if u knew any think about this topic pls help me out...
I don't know much about it but from what I've heard you probably need to play around with the Java Mail API and some J2ME stuff.
Mar 8 '07 #2
pronerd
392 Expert 256MB
This is no different than sending regular email. You just need to lookup what syntax your cell provider is using for this. It is usually something like xxx-xxx-xxxx@sms.cellphonecompanyname.com. From there you can use the regular JavaMail API or the Jakara Commons Mail API to send the email to it.

Keep in mind that you can usually only send 100 - 200 character messages generally, and most cell companies charge for SMS so you may want to include some throttling logic in case something goes wrong. You dont want it to start sending hundrads or even thousands of messages if something goes wrong.
Mar 8 '07 #3
pbmods
5,821 Expert 4TB
Heya, RiskyHunter.

You may find this page to be useful.

P.S., removed superfluous '?'s in your thread title so that other members will stop ignoring it.
Oct 13 '07 #4
heat84
118 100+
This is no different than sending regular email. You just need to lookup what syntax your cell provider is using for this. It is usually something like xxx-xxx-xxxx@sms.cellphonecompanyname.com. From there you can use the regular JavaMail API or the Jakara Commons Mail API to send the email to it.

Keep in mind that you can usually only send 100 - 200 character messages generally, and most cell companies charge for SMS so you may want to include some throttling logic in case something goes wrong. You dont want it to start sending hundrads or even thousands of messages if something goes wrong.

I understand we use SMTP to send e-mail and SMPP for sending and receiving e-mails . Does that mean that the conversion between SMTP and SMPP happens at the cellphone company name. I getting an understanding how J2ME will work.
Nov 15 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Bob Jones | last post: by
2 posts views Thread by Ron | last post: by
11 posts views Thread by tshad | last post: by
6 posts views Thread by \jason via DotNetMonster.com\ | last post: by
2 posts views Thread by RAB | last post: by

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.