hi there,
I’ve got this code; which obviously sends email using flash. But the mail it sends is in a simple form. But the client wants it to be in a specific table layout. But I can’t do it. So that the mail that php send to the $to = address will be in a table layout. Help Please
[php]
<?php //initialize variables for To and Subject fields $to ='[email protected]'; $subject ='Sipari? Talebi'; //build message body from variables received in the POST array $message ='From:'.$_POST ['from']."n n"; $message .='Email:'.$_POST ['email']."n n"; $message .='Quantity:'.$_POST ['miktar']."n n"; $message .=ProducktCode:'.$_POST ['urun_kodu']."n n"; $message .='Dimentions:'.$_POST ['olculer']."n n"; $message .='Comments:'.$_POST ['comments']; //add additional email headers for more user-friendly reply $additionalHeaders ="From:Sipari? Formun"; $additionalHeaders .="Reply-To:$_POST [email ]"; //send email message $OK =mail($to,$subject,$message,$additionalHeaders); //let Flash know what the result was if ($OK){ echo 'sent=OK'; } else { echo 'sent=failed&reason='.urlencode('There seems to be a problem with the server.Please try later.'); } ?>[/php]EDIT: Put code between [php] tags for readability.