Nombre: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"HelveticaNeueLT Std\" SIZE=\"13\" COLOR=\"#CC6600\" LETTERSPACING=\"0\" KERNING=\"0\">Erica Sosa</FONT></P></TEXTFORMAT> Telefono: <p align=\"left\"></p> Email: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"HelveticaNeueLT Std\" SIZE=\"13\" COLOR=\"#CC6600\" LETTERSPACING=\"0\" KERNING=\"0\">[email protected]</FONT></P></TEXTFORMAT> Message: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"HelveticaNeueLT Std\" SIZE=\"13\" COLOR=\"#CC6600\" LETTERSPACING=\"0\" KERNING=\"0\">Pruebaaaa</FONT></P></TEXTFORMAT>
Alguien sabe como hago para que no me aparezcan los datos del formato del texto?
Este es el codigo del PHP
Código PHP:
<?php
$contact_name = $_POST['name'];
$contact_email = $_POST['email'];
$contact_telephone = $_POST['telephone'];
$contact_message = $_POST['message'];
if( $contact_name == true )
{
$sender = $contact_email;
$receiver = "[email protected]";
$client_ip = $_SERVER['REMOTE_ADDR'];
$email_body = "Nombre: $contact_name Telefono: $contact_telephone Email: $sender Message: $contact_message IP: $client_ip";
if( mail( $receiver, "Contacto desde web Luis Torralva - $subject", $email_body ) )
{
echo "success=yes";
}
else
{
echo "success=no";
}
}
?>