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!

In reply to Re^2: Encoding for MIME::Lite? by Opally
in thread Encoding for MIME::Lite? by Opally

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.