I am very new to writing in Perl.
I have a checkout pl which sends an email to the buyer with details of their order. How do I format in Perl to display the order in a "pretty" format such as tables, coloured background images etc like in an html page???
This is the section of code I would like to format into something more attractive:
##-----Send email confirmation to the customer-----
open (MAIL,"|$mailprogram");
print MAIL "To: $b_email\n";
print MAIL "From: $oursalesemail\n";
print MAIL "Subject: Order Confirmation\n";
print MAIL "\n\n";
print MAIL "Hi $b_first\n";
print MAIL "\n\n";
print MAIL "Your order has been received. A summary of your order appears below.\n";
print MAIL "\n";
&printMailFieldsFromForm;
print MAIL "\n";
print MAIL "Thank-you for your order. It will be shipped posthaste.\n\n";
close MAIL;
Cheers KD