Mutt Tips

To send an email in HTML format, here is a piece of perl code:

$html_format = "set content_type=text/html";
$return_code_mutt = system("/usr/bin/mutt -e \"$html_format\" -s \"SUBJECT\" -- user\@domain.com <file_to_send.txt");