mailcap command run even when not using auto_view

2013-10-08 Thread Bernard Massot
Hello. I've configured mutt to view .xlsx attachments inline if they're not too big. Here is my configuration: ~/.mailcap: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; ssconvert --export-type=Gnumeric_stf:stf_csv '%s' fd://1 2 /dev/null | column -s, -t; copiousoutput;

Help with mutt - sending mail with body as html with attachments

2013-10-08 Thread Cary Lewis
I am trying to use mutt to send emails with the following characteristics: 1. Mail whose content is html - I can do this by specify -e my_hdr Content-Type: text/html, and formatting the message as a pure html file, e.g. no extra headers. 2. Mail whose content is html, but must all support

Re: Help with mutt - sending mail with body as html with attachments

2013-10-08 Thread P. Mazart
Hello Cary, 1. Mail whose content is html - I can do this by specify -e my_hdr Content-Type: text/html, and formatting the message as a pure html file, e.g. no extra headers. I’m not entirely sure but I feel that it’s not too ideal to set the Content-Type via a my_hdr setting. Maybe you can

Re: Help with mutt - sending mail with body as html with attachments

2013-10-08 Thread P. Mazart
Hello again, Maybe you can set a custom header like “x-change-to-html”, and apply a hook running an edit-type macro if this header is present? Sounds more native to me. Maybe this is even easier: mutt -e 'set content_type=text/html' -s 'Subject of your msg' spamreceipi...@server.gov -a