On Thu, Jan 22, 2004 at 03:42:27PM EST, Bryan Bibb wrote: > Is it possible to have Mutt set the Content-Type from the command > line? I have a colleague who would like to send an HTML message within > a script. =20 How about this? ( echo 'source ~/.muttrc' echo 'set editor=echo entire_email >' echo 'set edit_headers=yes' echo 'push <mail>recipient\nsubject\ny' echo 'push <sync-mailbox><quit>' ) | mutt -F /dev/stdin I admit, it ain't pretty, but it should work perfectly (untested) unless you have send-hooks modifying editor and/or edit_headers ;-) Enjoy, - Dave -- Uncle Cosmo, why do they call this a word processor? It's simple, Skyler. You've seen what food processors do to food, right? Please visit this link: http://rotter.net/israel
Attachment:
pgpd30sq2sVNr.pgp
Description: PGP signature