here's some more information... my apologies for the multiple replies, I don't see them when I refresh the site...
I have been reading the docs on MIME::Lite. Encoding base64 does not work with multipart/alternative. I also tried using MIME::Base64 but that seemed to confound the output even more.
At least I'm getting the output now in HTML format using MIME::QuotedPrint, but it has = signs and some HTML markup showing (despite it all being escaped in the original). It looks like this (snipped)
Thank you for submitting your school profile to the Core Knowledge Fou
+n= dation. You submitted the following data on: Thursday, August 23,
+2007 at 1= 2:19:33, server time.
= asdf<= tr><= /tr>= <= /tr><= /tr><= /tr>
How did you find out about CK? please ignore, testing
New = or updated profile? New
here's some of my form script
use MIME::Lite;
use MIME::QuotedPrint;
#
# this part generates $email_body for plain text and $email_html for
+html text
#
$msg = MIME::Lite->new(
To =>$email_to,
From =>$email_of_sender,
Subject =>$email_subject,
Type =>'multipart/alternative',
);
$msg->attach(Type => 'text/plain',
Data => $email_body
);
$msg->attach(Type => 'text/html',
Data => encode_qp($email_html)
);
$msg->send;
thanks for your help!
|