nsbin/mini-mua
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

16 lines
419 B
Bash
Executable file

#!/bin/sh
# Date: ~ Autumn 2002
# Last Changed: -
# Author: Nico Schottelius <Nico-linux AT Schottelius DOT Org>
# Mini Mua
#
recipient="Nico Schottelius"
mailaddr="toaddr@anywhere.org"
bcc="youraddress@somewhere.org"
read -p "Recipient [$recipient]: " temp
read -p "Mail [$mailaddr]: " temp
echo "Type message (end with CTRL + D, aka EOF)"
cat | gpg -a -e -r "$recipient" | mail -b "$bcc" -s "$subject" "$mailaddr"