I need help emailing from a perl script.
I want to get addresses from a database and send out emails using mutt. Getting the addresses is fine, but am having difficulty composing the messages. I have checked all man pages I can find but all assume I am working form a terminal.
I wnat to do something like
`mutt -s test -i mail.txt $email`
any help much appreciated.