scottjk Posted September 24, 2007 Share Posted September 24, 2007 Hi. Can someone please tell me how to format my email processing php to avoid getting results like this: Name : <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\">Scott Smith</FONT></P></TEXTFORMAT> Email: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\" LETTERSPACING=\"0\" KERNING=\"0\">none@none.com</FONT></P></TEXTFORMAT> Comments: Here is the script: $destination="none@none.com"; $name=$_POST['name1']; $email=$_POST['email']; $mes=$_POST['company']; $mes=$_POST['number']; $mes=$_POST['message']; $subject="Message from $name" ; $mes="Name : $name\n Email: $email\n Comments: $mes\n"; mail($destination,$subject,$mes); ?> Thanks Scott Quote Link to comment https://forums.phpfreaks.com/topic/70417-php-flash-variable-email-script-format-question/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.