el codigo lo tengo asi
Código PHP:
<?php
$dest = $row['email'];
$head = "From: [email protected]\r\n";
$head.= "To: ".$row['email']."\r\n";
// Cuerpo del mensaje
$msg = "------------------------------- \n";
$msg.= " Registration Information \n";
$msg.= "------------------------------- \n";
$msg.= "Name and Lastname: ".$row['firstname']." ".$row['lastname']."\n";
$msg.= "Country: ".$row['country']."\n";
$msg.= "Email: ".$row['email']."\n";
$msg.= "Username: ".$row['username']."\n";
$msg.= "Password: ".$row['password']."\n";
$msg.= "Thank you for registering. We require that you validate your registration to ensure that the email address you entered was correct. This protects us against unwanted spam and malicious abuse.\n";
$msg.= "Activation Link:
<a href='http://galvax.net/users/activation/user_activation.php?id='.$id.'&activatekey='.$l.''>Activate</a>\n";
$msg.= "------------------------------- \n";
$msg.= " Email created By Galva-X Systems \n";
// Enviamos el mensaje
mail($dest, "[email protected]", $msg, $head)
//TERMINAMOS DE ENVIARLO
?>
gracias de antemano.