Re: Problem with SMS Send

[email protected]
Newsgroups gmane.comp.java.sun.kvm
Message-ID <30476288.123931189116446261.JavaMail.tomcat@sdcst12.sjc.collab.net>
You need to set the send to address on the text message object.
msg.setAddress(addr);

You also need to make sure your addr  has a format of "sms://+<cc><phone#>"
where <cc> == your country code (for US it's 1 for UK = 44) then <phone#> is the
normal 10digit number.

-Shawn
[Message sent by forum member 'sfitzjava' (sfitzjava)]

http://forums.java.net/jive/thread.jspa?messageID=234298

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.