in reply to Problem sending html using sendmail

Is your mailserver case-sensitive? Try:
print MAIL "MIME-Version: 1.0\n"; print MAIL "Content-Type: text/html; charset=\"iso-8859-1\"\n";

update - also Reply-To: