Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] [SOLVED] using mutt in a bash script



As Jim pointed out, the quoting was the cause ....

I removed quote from address file ie.:

$cat test.adr
My friend <fr@example.com>
My enemy <en@example.com>
Your friend <yf@example.com>

and put quotes to shell variables ie.:

cat invitation.txt |mutt -s "POUZE TEST:Kind invitation to ISPMA 11" \
-F ./muttrc.ispma "$myline"


Than my script worked well including names in To: mail header. 
In other words, emails were sent like this:

To: My friend <fr@example.com>

Best regards
Michal


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links