Forum Moderators: coopster
$mymail = "tuCorreo@example.com";
$subject = "Formulario: Trabaja con nosotros";
$contenido = $_POST["nombre"]." Escribio :\n";
$contenido .= $_POST["mensaje"]."\n\n";
$header = "From:".$_POST["mail"]."\nReply-To:".$_POST["mail"]."\n";
$header .= "X-Mailer:PHP/".phpversion()."\n";
$header .= "Mime-Version: 1.0\n";
$header .= "Content-Type: text/HTML";
mail($mymail, $subject, utf8_decode($contenido) ,$header);
echo "&estatus=ok&";
( I can't post the entire code, don't know why :?, so that it's only a portion)
It's that way because Macromedia Flash send the vars to it, but I want to put the answer, I mean the php returning mail, formated on a nice HTML design...
Is that possible? I'm a newbie with PHP, so any suggestions or comments will be so much apreciated.
Thanks a lot in advance!
[edited by: coopster at 5:21 pm (utc) on July 7, 2005]
[edit reason] generalized email [/edit]
$contenido = "<table><tr><td width=\"50%\">Nombre</td><td width=\"50%\">Indirizzo</td></tr>
<tr><td>$name</td><td>$adress</td></tr></table>";
And you have a html formatted mail
Best regards
Miguel Cibor
If it's not the problem, then write, as I might have misunderstood what the problem was.
PS. Any problems with sending larger chunks of text are firewall related (I have the same problem until I exit my firewall, don't know why however)
Thanks a lot once more, by the way, this forum rocks, you all are php genious ;)
I apreciate a lot the help, thanks!