Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/05/2010, 04:16
Luciata
 
Fecha de Ingreso: mayo-2010
Ubicación: www.brumasound.com
Mensajes: 52
Antigüedad: 14 años
Puntos: 0
1.
include("class.phpmailer.php");
2.
include("class.smtp.php");
3.

4.
$mail = new PHPMailer();
5.
$mail->IsSMTP();
6.
$mail->SMTPAuth = true;
7.
$mail->SMTPSecure = "ssl";
8.
$mail->Host = "smtp.gmail.com";
9.
$mail->Port = 465;
10.
$mail->Username = "[email protected]";
11.
$mail->Password = "userpass";

http://blog.unijimpe.net/enviar-email-con-php-y-gmail/

Última edición por GatorV; 21/05/2010 a las 08:33