2017-01-09 22:53:18 -05:00
|
|
|
# sendxmpp-py
|
2014-01-18 04:32:06 -05:00
|
|
|
|
2017-01-09 22:53:18 -05:00
|
|
|
`sendxmpp` is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl.
|
2014-01-18 04:32:06 -05:00
|
|
|
|
2015-07-20 07:48:08 -04:00
|
|
|
Dependencies:
|
2017-01-09 22:53:18 -05:00
|
|
|
|
2015-07-20 07:48:08 -04:00
|
|
|
- python 3
|
|
|
|
- dnspython
|
|
|
|
- sleekxmpp
|
|
|
|
|
|
|
|
To install them on Ubuntu:
|
|
|
|
|
|
|
|
sudo apt-get install python3 python3-pip
|
|
|
|
sudo pip install dnspython sleekxmpp
|
|
|
|
|
2017-01-09 22:53:18 -05:00
|
|
|
[Arch AUR package](https://aur.archlinux.org/packages/sendxmpp-py/)
|
|
|
|
|
|
|
|
Installation: just put the script wherever you want.
|
2015-07-20 07:48:08 -04:00
|
|
|
|
2017-01-09 22:53:18 -05:00
|
|
|
Configuration: `cp sendxmpp.cfg ~/.config/` and edit `~/.config/sendxmpp.cfg` with your XMPP credentials
|
2015-07-20 07:48:08 -04:00
|
|
|
|
|
|
|
Usage examples:
|
|
|
|
|
2017-01-09 22:53:18 -05:00
|
|
|
- `echo "This is a test" | sendxmpp user@host`
|
|
|
|
- `sendxmpp user@host <README.md`
|
2017-01-09 23:02:59 -05:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
GNU/GPLv3 - Check LICENSE.md for details
|