You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
920 B

4 years ago
4 years ago
4 years ago
  1. # sendxmpp-rs
  2. `sendxmpp` is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl, or the newer [sendxmpp-py](https://github.com/moparisthebest/sendxmpp-py).
  3. Installation:
  4. `cargo install sendxmpp`
  5. Configuration: `cp sendxmpp.toml ~/.config/` and edit `~/.config/sendxmpp.toml` with your XMPP credentials
  6. ```
  7. Usage: sendxmpp [OPTIONS] [ARGUMENTS]
  8. Positional arguments:
  9. recipients
  10. Optional arguments:
  11. -h, --help show this help message and exit
  12. -c, --config CONFIG path to config file. default: ~/.config/sendxmpp.toml with fallback to /etc/sendxmpp/sendxmpp.toml
  13. -e, --force-pgp Force OpenPGP encryption for all recipients
  14. -a, --attempt-pgp Attempt OpenPGP encryption for all recipients
  15. ```
  16. Usage examples:
  17. - `echo "This is a test" | sendxmpp user@host`
  18. - `sendxmpp user@host <README.md`
  19. License
  20. -------
  21. GNU/AGPLv3 - Check LICENSE.md for details