blob: 55aa351e97e0a0fa6b0348044266295104c99f8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach]
# Don't forget to set the from and realname variables in ~/.muttrc !
sender="bart.vanassche@gmail.com"
recipients="valgrind-developers@lists.sourceforge.net bart.vanassche@gmail.com"
#recipients="bart.vanassche@gmail.com"
if [ $# -ge 3 ]; then
mutt -s "$1" -a "$3" ${recipients} < "$2"
else
mutt -s "$1" ${recipients} < "$2"
fi
|