Question : Sending HTML email with sendmail

Hi - I was wondering how I can make sendmail send HTML e-mails instead of text.  I have a perl script that sends an e-mail to one internal user and I would like it to be sent in HTML instead of text.  Here is a condensed header/script I"m using.

Thanks - Zack
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
$from = "user\@domain.com";
	$to = "user\@domain.com";
	$subject = "Application";
	$sendmailpath = "/usr/sbin/sendmail";
 
	open (SENDMAIL, "| $sendmailpath -t");
 
	print SENDMAIL "Subject: $subject

"; print SENDMAIL "From: $from\n"; print SENDMAIL "To: $to\n\n"; # EMAIL here close(SENDMAIL);

Answer : Sending HTML email with sendmail

update: yup, it's possible... "Content-Type: text/html"
Random Solutions  
 
programming4us programming4us