Thanks ILMV.
This is the script I've done so far. when a image is been sent from flash ($output), I need it to display the image + the other data as a HTML email using PHP. I dunno whether it's too much But please get started and then there will be a limit.
<?PHP
$to = "abca@mail.com";
$subject = "the subject";
$headers = "From:" .$email."\r\n";
//Capture Post data
$data = explode(",", $_POST['output']);
$width = $_POST['width'];
$height = $_POST['height'];
$message = "Name: " . $thename;
$message .= "\nCompany or Club Name: " . $thecompany;
$message .= "\nAddress: " . $theaddress;
//Output image and clean
header( "Content-type: image/jpeg" );
ImageJPEG( $output );
imagedestroy( $output );
?>