sendxmpp is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl, or the newer sendxmpp-py.
cp sendxmpp.toml ~/.config/ and edit
~/.config/sendxmpp.toml with your XMPP credentials
echo "This is a test" | sendxmpp user@host
sendxmpp user@host <README.md
GNU/GPLv3 - Check LICENSE.md for details