nsbin/mini-mua

17 lines
419 B
Text
Raw Permalink Normal View History

2006-07-20 07:54:37 +00:00
#!/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"