Modifique el archivo PHP.. de esta forma.. pero al enviarlo me dio un error que dice: "Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/vhosts/sos-designs.com/httpdocs/flaform.php on line 6"
Y la linea 6 es...
$subject=$_POST['subject'];
Codigo completo
<?php
$MailTo="
[email protected]";
$dia=date("m.d.Y");
$hora=date("H:i:s");
$contenido="
$subject=$_POST['subject'];
The message was sended $dia $hora:\n\n
----------------------------------------------------------------------------\n
$company=$_POST['company'];
$contact=$_POST['contact'];
$address=$_POST['address'];
$phone=$_POST['phone'];
$cant1=$_POST['cant1'];
$cant2=$_POST['cant2'];
$cant3=$_POST['cant3'];
$cant4=$_POST['cant4'];
$mensaje1=$_POST['mensaje1'];
$mensaje2=$_POST['mensaje2'];
$mensaje3=$_POST['mensaje3'];
$color1=$_POST['color1'];
$color2=$_POST['color2'];
$creditcard=$_POST['creditcard'];
$mes=$_POST['mes'];
$ano=$_POST['ano'];
----------------------------------------------------------------------------\n
Details of the order:
County 6x24: $cant1\n
County 6x18: $cant2\n
Townhouse 6x12: $cant3\n
Coral Gables 5x8: $cant4\n\n
Line1: $mensaje1\n
Line2: $mensaje2\n
Line3: $mensaje3\n\n
Color letters white background: $color1\n
Color background white text: $color2\n\n
Credit Card #: $creditcard\n
Exp. Date: $mes $ano\n\n
----------------------------------------------------------------------------\n
";
mail($MailTo, "$subject (from $company)", $contenido, "From: $MailFrom");
?>