Is it possible to mail an html file that looks exactly like the second image? I know mutt -e 'set content_type="text/html"' -s "Subject" user@email.com < test.html works but it sends the html (first image) without the css or "design".

enter image description here enter image description here


You also need to send the css file.And If you write your html page with in line css then it won't be a problem.

  • How can I send the css file also when using mutt if I don’t use inline style? – Ykaly Dec 27 '19 at 4:12
  • mutt -e 'set content_type="text/css"' -s "Subject" user@email.com < test.css – 0x30c4 Dec 27 '19 at 7:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.