I am having problems with the syntax of sending a HTML email with embedded flash.
I recieve the email with all the HTML code shown. The code is;
print "Content-type: text/html\n";
open (MAIL,"|$mailprog -t") || &showErr('Mail Program Access');
print MAIL "To: $FORM{'name'} <$FORM{'from'}>\n";
print MAIL "From: $webmstr\n";
print MAIL "Subject: Web Mail\n\n";
print MAIL "<HEAD>\n";
print MAIL "<META content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type>\n";
print MAIL "<META content=\"MSHTML 5.00.2314.1000\" name=GENERATOR></HEAD>\n";
print MAIL "<BODY>\n";
print MAIL "<BODY BGCOLOR=#FFFFFF TEXT=#000000>\n";
print MAIL "<OBJECT classid=\"clsid😃27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://active.macromedia.com/flash2/cabs/swflash.cab version=4,0,0,0\" ID=newVREC16 WIDTH=100% HEIGHT=100%>\n";
print MAIL "<PARAM NAME=movie VALUE=\"http://vrec.co.uk/newVREC16.swf\">\n";
print MAIL "<PARAM NAME=quality VALUE=high>\n";
print MAIL "<PARAM NAME=scale VALUE=exactfit>\n";
print MAIL "<PARAM NAME=wmode VALUE=transparent>\n";
print MAIL "<PARAM NAME=bgcolor VALUE=#FFFFFF>\n";
print MAIL "<EMBED src=\"http://vrec.co.uk/newVREC16.swf\" quality=high scale=exactfit wmode=transparent bgcolor=#FFFFFF WIDTH=100% HEIGHT=100% TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">\n";
print MAIL "</EMBED>\n";
print MAIL "</OBJECT>\n";
print MAIL "</BODY>\n";
print MAIL "\n";
print MAIL "exit(0)\n";
close (MAIL);
Can anyone help? Many thanks is advance