On Mon, Mar 25, 2002 at 11:39:39AM -0500, Donna Koenig wrote: > I need help. Is there an option in mutt (muttrc) to set the content > type to multipart/alternative? > > Situation is: > We want to send out email that is html, but for those who only > accept or access text email, we wnat them to be able to open the email > also. > > Any help would be appreciated.
There is no straightforward way that I know of. I'm in a similar situation where I need to periodically send to a distribution list a document written in Word and would like to send it with a text/plain version as multipart/alternative. Nothing I have done to edit the Content-Type in the header has worked--mutt always changes it back to multipart/mixed. The only solution I can think of short of a patch is to set the sendmail variable something like this: set sendmail="/home/yourlogin/bin/alt_sendmail -oem -oi" where alt_sendmail is a shell script containing: #!/bin/sh sed '/^Content-Type/s/mixed/alternative/' | /usr/sbin/sendmail "$@" Of course, you'll need to restore the original value of sendmail if you want to send any attachments as multipart/mixed. HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |