send_message(source_jid,
password,
target_jid,
body,
subject=None,
message_type=' chat ' ,
message_thread=None,
settings=None)
|
|
Star an XMPP session and send a message, then exit.
- Parameters:
source_jid (pyxmpp2.jid.JID or basestring ) - sender JID
password (basestring ) - sender password
target_jid (pyxmpp.jid.JID or basestring ) - recipient JID
body (basestring ) - message body
subject (basestring ) - message subject
message_type (basestring ) - message type
message_thread - message thread id
settings (pyxmpp2.settings.XMPPSettings) - other settings
|