[jdev] Sending message to Yahoo! Messenger
Qaz Imarus
qazimarus at yahoo.com.sg
Sun Apr 10 21:12:16 CDT 2005
Hi all.
I try to send message to user in Y! Messenger Roster
from
my Jabber client,
Is the method same when I send to any JID ?
For example: I have logged in using
myjid at somejabber.org
and somejabber.org has
Yahoo Transport, which shows my buddy as
mybuddy at yahoo.somejabber.org and I also has
my_yahoo_id at yahoo.somejabber.org
Which from the following is correct if i want to send
to
mybuddy at yahoo.somejabber.org ??
Please help, I'm stucked
<message
to='mybuddy at yahoo.somejabber.org/someresource'
from='my_yahoo_id at yahoo.somejabber.org'
type='chat'
xml:lang='en'>
<body>Is this correct?</body>
</message>
<message
to='mybuddy at yahoo.somejabber.org/someresource'
from='myjid at somejabber.org'
type='chat'
xml:lang='en'>
<body>Or this one ??</body>
</message>
Or may be both of them are incorrect ??
So, anybody know it ??
__________________________________________________
Do You Yahoo!?
Download the latest ringtones, games, and more!
http://sg.mobile.yahoo.com
More information about the JDev
mailing list