xiaoyunwu
asked on
use mutt to send html email
How to use mutt to send an html file?
I need to use mutt since I need to attach a file.
Thanks.
I need to use mutt since I need to attach a file.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi
Read the following link
it will give clear understanding about mutt
http://www.mutt.org/doc/manual/manual-2.html
Read the following link
it will give clear understanding about mutt
http://www.mutt.org/doc/manual/manual-2.html
ASKER
I tried: mutt -e 'set content_type="text/html"' me@mydomain.com -s "subject" < index.html
buy I get the following error:
Error in command line: content_type: unknown variable
buy I get the following error:
Error in command line: content_type: unknown variable
can you check your mutt version? version 1.4.x does not support content_type properly, you need version 1.5.x. It can be downloaded here http://www.mutt.org/download.html
ASKER
Mutt 1.0pre2us (1999-08-31)
thanks.
thanks.
hi xiaoyun,
that's an old version see if you could upgrade to the latest.
that's an old version see if you could upgrade to the latest.
run
mutt -s "Subject" -a /tmp/x.html recipient < /dev/null