in reply to Re: MIME lite
in thread MIME lite

Thanks for your reply.

Your right in one respect that I have post questions on MIME while I was learning how to construct it.

Corion also point out the MIME page, which is what I used to construct what I have learnt so far.

As limited as I am, learning is slow and I do try to only resort to asking questions on SoPW as a last resort.

The MIME Lite resource page leaves out some cruical explaination on some stuff. It is all there but I guess it is written for users that have intermediate knowledge.

The missing part in my sricpt was the Data => qq{ which I had originally used but some reason change to Data => ' which changes the HTML tags to string only.

Replies are listed 'Best First'.
Re^3: MIME lite
by marto (Cardinal) on May 14, 2010 at 13:52 UTC

    Don't get me wrong, I want you to post, however since you already have a thread on this topic you could have posted there rather than start a new one. Please take onboard the other issues raised with your code.

    Note that the MIME::Lite documentation is specific to the module, it doesn't cover basic perl. For that you should check out:

    Thanks

      Thanks again for your input everyone.

      One more question, how do I correctly use <form> tags sent via MIME?

      eg

      $msg->attach( Type => 'text/html', Data => qq{ <form method="post" action="http://themaninthecharcoalsuit.com.au/cgi- +bin/bookings3.cgi"> <INPUT NAME="organisers_name" VALUE="$organisers_name"> <INPUT TYPE="HIDDEN" NAME="organisers_address" VALUE="$organisers_ +address"> <INPUT TYPE="HIDDEN" NAME="organisers_homeN" VALUE="$organisers_ho +meN"> <INPUT TYPE="HIDDEN" NAME="organisers_mobile" VALUE="$organisers_m +obile"> <INPUT TYPE="HIDDEN" NAME="organisers_email" VALUE="$organisers_em +ail"> <INPUT TYPE="HIDDEN" NAME="prefered_contact" VALUE="$prefered_cont +act"> <INPUT TYPE="HIDDEN" NAME="brides_name" VALUE="$brides_name"> <INPUT TYPE="HIDDEN" NAME="brides_number" VALUE="$brides_number"> <INPUT TYPE="HIDDEN" NAME="wedding_date" VALUE="$wedding_date"> <INPUT TYPE="HIDDEN" NAME="bride_organiser" VALUE="$bride_organise +r"> <INPUT TYPE="HIDDEN" NAME="suprise" VALUE="$suprise"> <INPUT type="submit" value="Proceed to Step 3"> </FORM> },
        You don't