Go to file
moparisthebest b4ab9bf2f4
Some checks failed
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit
CI exclude mips64el-unknown-linux-gnuabi64
2021-03-24 02:32:37 -04:00
.ci CI exclude mips64el-unknown-linux-gnuabi64 2021-03-24 02:32:37 -04:00
src Use latest bleeding edge tokio-xmpp for rustls and my into_inner() change 2021-03-24 02:32:37 -04:00
.gitignore update Cargo.lock, builds with patched xmpp-rs 2019-01-25 20:07:36 -05:00
.rustfmt.toml Add --raw option to support sending a stream of raw XML 2021-03-23 21:17:00 -04:00
Cargo.lock Use latest bleeding edge tokio-xmpp for rustls and my into_inner() change 2021-03-24 02:32:37 -04:00
Cargo.toml Use latest bleeding edge tokio-xmpp for rustls and my into_inner() change 2021-03-24 02:32:37 -04:00
LICENSE.md Version 2.0.0 as released on crates.io 2021-01-16 02:06:05 -05:00
README.md Version 2.0.0 as released on crates.io 2021-01-16 02:06:05 -05:00
sendxmpp.toml Initial commit 2017-08-11 00:37:50 -04:00

sendxmpp-rs

sendxmpp is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl, or the newer sendxmpp-py.

Installation: cargo install sendxmpp

Configuration: cp sendxmpp.toml ~/.config/ and edit ~/.config/sendxmpp.toml with your XMPP credentials

Usage: sendxmpp [OPTIONS] [ARGUMENTS]

Positional arguments:
  recipients

Optional arguments:
  -h, --help           show this help message and exit
  -c, --config CONFIG  path to config file. default: ~/.config/sendxmpp.toml with fallback to /etc/sendxmpp/sendxmpp.toml
  -e, --force-pgp      Force OpenPGP encryption for all recipients
  -a, --attempt-pgp    Attempt OpenPGP encryption for all recipients

Usage examples:

  • echo "This is a test" | sendxmpp user@host
  • sendxmpp user@host <README.md

License

GNU/AGPLv3 - Check LICENSE.md for details