Hello,
 
This is probably a dumb question but I've looked everywhere and can't find the answer to this.
I'm using Mutt to send out an email with a PDF attachment using the command:

echo "" >/dev/null | mutt -a $pdf -H $elog
 
with $pdf being set by my script as the PDF file and $elog is the actual message body file.
File $elog contains this:
 
From: $fromname <$fromemail>
To: $sendlogto
Subject: $fromname: E-Mail Log
 
The mail log is attached.

This itself works perfectly. But what I would like to do is have HTML code inside the message body. Adding the Content-Type: text/html line to the $elog file doesn't seem to let this work because the Content-Type gets overwritten by Mutt putting in the
Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd" because of the attachment.

Does anyone know of any way I can get Mutt to set the Content-Type for the message body?

________________________________________________________________
Kevin Green
KD Micro Software
[EMAIL PROTECTED]

MP 107, Market City, 280 Bannister Road, Canning Vale WA 6155.
Phone: 9256 1566 (2778 internal)     Mobile: 0419 949 254.   

Reply via email to