You have to make sure to include the appropriate content type.

open (MAIL, "|/usr/sbin/sendmail -t -oi") || die "Can't fork for
sendmail:$!\n";
print MAIL <<EOF;
From: from_email_address
To: to_email_address
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 8bit\n\n
Subject: subject\n\n
_data_to_be_sent_
EOF
close(MAIL) || warn "sendmail didn't close nicely\n";

Scott Lutz
technical support
Pacific Online
http://www.paconline.net



-----Original Message-----
From: jeff [mailto:[EMAIL PROTECTED]]
Sent: December 17, 2001 9:38 AM
To: [EMAIL PROTECTED]
Subject: How can I send an HTML format email using send mail


Does anyone know how to send an HTML formatted email using sendmail.  I
can
send plain text email OK.  If I format the message using HTML the
message
shows the HTML tags.  I can't find any information regarding this on
cpan.
Are there any other modules that have this capability?  Any help is
greatly
appreciated.

Jeff


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to