> <message
> to='[EMAIL PROTECTED]/someresource'
> from='[EMAIL PROTECTED]'
> type='chat'
> xml:lang='en'>
> <body>Or this one ??</body>
> </message>
This one is closest.
However:
1. You probably don't need a resource, as certainly with the Yahoo
Transport I'm familiar with, Yahoo users don't get given a resource.
2. The "from" attribute is generally optional for clients, as the server
has to correct it for you anyway.
3. xml:lang goes on the body, not the message.
So the simplest form is:
<message to='[EMAIL PROTECTED]' type='chat'>
<body xml:lang='en'>Or this one ??</body>
</message>
TX
_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev