if not using one of those excellent MIME::* modules you could do something like the following to set a correct content-type for your mail:
my $mailfrom = 'someone@somewhere.com';
my $mailcommand = "/usr/lib/sendmail -f\"$mailfrom\" -O\"NoRecipientAc
+tion=add-to\" -t ";
my $to = '...' # recipient goes here
open MAIL, "| $mailcommand $to" or die "$0: Cannot execute command: $!
+\n";
print MAIL <<EOT;
To: $to
MIME-Version: 1.0
Content-Type: text/html
Content-Transfer-Encoding: 8Bit
Subject: Some subject here
... your text ...
EOT
close MAIL;
The relevant thing is that "Content-Type" line, give it a try...
alex pleiner <alex@zeitform.de>
zeitform Internet Dienste