xmpppy / xmpppy

Python 2/3 implementation of XMPP
http://xmpppy.sourceforge.net/
GNU General Public License v3.0
101 stars 65 forks source link

Using the basic.py script, where should its destination be sent to? #44

Closed higher75 closed 2 years ago

higher75 commented 3 years ago

Excuse me, should I build an xmpp server for testing? What kind of service should ubuntu18.04 build?

Using the basic.py script, where should its destination be sent to? Are the required passwords and user names already set when the service is set up?

thanks you!

amotl commented 3 years ago

Dear @higher75,

the arguments to the basic.py program [1] have to be given on the command line, separated by space characters.

The order of the arguments is:

sender, password, receiver, message = sys.argv[1:5]

However, you can also use the xmpp-message program automatically installed with the xmpppy package, see [2].

With kind regards, Andreas.

[1] https://github.com/xmpppy/xmpppy/blob/master/docs/examples/basic.py [2] https://github.com/xmpppy/xmpppy/#usage

amotl commented 2 years ago

Dear @higher75,

let me know if you have further questions. In the meanwhile, I am closing this issue.

With kind regards, Andreas.