echo "<html><body><table border=1>hello world </table></body></html>" | mail -s test
user@domain.com
the result i get is
<html><body><table border=1>hello world </table></body></html>
however i want it as a file as i want it to be displayed in thunderbird
i want to send it as an attachment.Can anyone please help me?