From: Mladen M. <mm...@gm...> - 2010-07-14 10:53:13
|
Hi. Using xmpppy with gtalk account to send messages to another gtalk account. It works well. Here's my script: import xmpp jid=xmpp.protocol.JID('mm...@gm...') cl=xmpp.Client(jid.getDomain()) cl.connect(server = ('gmail.com', 5223)) cl.auth(jid.getNode(),'xxxxxxx') cl.send(xmpp.protocol.Message('xx...@gm...', 'test message')) My problem is when I put the recipient account to offline mode. The script sends the message, yet I never see it as received. When doing the same thing through an app (kopete). Recipient account offline, send message, set recipient online. The message is received either in gmail as email or in kopete depending on what was first used. Maybe someone had this problem and found a solution. regards mmlado |