When using mutt to send files and emails with bash.....
one of the things i noticed right away on my suse systems is that you MUST have in your
file a spot that says
# Sample ~/.muttrc for SuSE Linux
set from="[email protected]"
If you DON'T have that set from= set....you will end up with errors that say.....
Bad IDN in "from": '(null)'
or something to that effect.....
Just thought i'd pass it along to anyone trying to use mutt in a shell script and they run into that error
format for sending mail in shell scripts with mutt is .....
mutt -a $ATTFILE -s "$SUBJECT" $MAILTO < $TXTFILE
Hope that helps someone else besides me