buff estoy mirando la funcion phpmailer y no me aclaro... no seria mas facil con la funcion mail()??
Me he decidido a probarlo... estoy en ello. Pero creo que estoy haciendo algo mal...
Explico, he decidido hacer que los mensajes lleguen como que los mando desde mi cuenta de Gmail.
Código PHP:
require("../requis/class.phpmailer.php");
$mail= new PHPMailer();
$mail->IsSMTP();
$mail-> From = "[email protected]";
$mail-> FromName = "Clan Dog-Tag";
$mail->Mailer = "smtp";
$mail->Host = "smtp.gmail.com";
$mail->Port = "587";
$mail->SMTPAuth = true;
$mail->Username = "[email protected]";
$mail->Password = "------------";
$mail->Subject = "Tienes un privado";
$mail->AltBody = "
Tienes un mensaje privado en la web.
Por favor visita http://clandog-tag.com y consute su buzón.
Grácias";
$maleando=mysql_query("select email from usuarios where nick='$recividor'");
while($maleando2=mysql_fetch_row($maleando))
{
//mail($maleando2[0], $aus, $mesaje, $remi);
$mail->AddAddress("$maleando2[0]");
}
$mail->send();