1 2 3 4
#!/bin/sh [ -z "$MAILER" ] && MAILER=`which thunderbird 2> /dev/null` [ -z "$MAILER" ] && MAILER=/usr/bin/xdg-email exec $MAILER $@