diff --git a/metche b/metche index c19814a..617ef32 100755 --- a/metche +++ b/metche @@ -81,12 +81,12 @@ _mail() { local subject="$1" - if which mail > /dev/null ; then + if which mutt > /dev/null ; then + LC_ALL="$LOCALE" mutt -s "$subject" "$EMAIL_ADDRESS" + elif which mail > /dev/null ; then LC_ALL="$LOCALE" mail -s "$subject" "$EMAIL_ADDRESS" elif [ -x /usr/sbin/sendmail ]; then LC_ALL="$LOCALE" add_header "$subject"|/usr/sbin/sendmail "$EMAIL_ADDRESS" - elif which mutt > /dev/null ; then - LC_ALL="$LOCALE" mutt -s "$subject" "$EMAIL_ADDRESS" fi }