I have been using mutt for some to time to send plain text emails with a pdf attachment using:

> 
> mutt -s "Subject" -a file.pdf < mybody.txt
> 
> 
> 

and html emails without an attachment using:

> 
> mutt -e "my\_hdr Content-Type: text/html" -s "Subject" < mybody.html
> 
> 
> 

but I now want send an html email with a pdf attachment and:

> 
> mutt -e "my\_hdr Content-Type: text/html" -s "Subject" -a file.pdf < mybody.html
> 
> 
> 

does not work.

Both the html and encoded pdf along with their headers show as plain text in the body of the email.

Anyone know how to do this?

Cheers

Gary