elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Ingresar Registrarse
07 Octubre 2008, 20:35  



+  Foro de elhacker.net
|-+  Programación
| |-+  Desarrollo Web (Moderadores: дٳŦ٭, Red Mx)
| | |-+  EMail De Confirmacion Joomla LOCAL
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Imprimir
Autor Tema: EMail De Confirmacion Joomla LOCAL  (Leído 103 veces)
Lokoo

Desconectado Desconectado

Mensajes: 24


Ver Perfil
EMail De Confirmacion Joomla LOCAL
« en: 01 Mayo 2008, 23:41 »

Buenas tengoen Windows XP  un CMS Joomla verion 1.0.x instalado en local con el servidor apache mysql etc etc etc ( el Pack XAMPP) todo va correctamente excepto la funcion mail , la  trate de configurar leyendo  en un foro pero no me funciona,( tngo una cuenta no-ip que redireciona a la pagina  tambien ), y esto es el  php.ini por donde el mail: (tengo el puerto 465 abierto en el router  tambien y el 25 .
Código:
[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 465

; For Win32 only.
;sendmail_from = XXXxxx@gmail.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

esto  lo que modifique del phpmailer que ahi en includes:
Archivo class.phpmailer.php
Código:
/////////////////////////////////////////////////
// SMTP VARIABLES
/////////////////////////////////////////////////

/**
*  Sets the SMTP hosts.  All hosts must be separated by a
*  semicolon.  You can also specify a different port
*  for each host by using this format: [hostname:port]
*  (e.g. "smtp1.example.com:25;smtp2.example.com").
*  Hosts will be tried in order.
*  @var string
*/
var $Host = "smtp.gmail.com";

/**
*  Sets the default SMTP server port.
*  @var int
*/
var $Port = 465; // el original estaba a 25

/**
*  Sets the SMTP HELO of the message (Default is $Hostname).
*  @var string
*/
var $Helo = "";

/**
*  Sets SMTP authentication. Utilizes the Username and Password variables.
*  @var bool
*/
var $SMTPAuth = true; // estaba a false en el original

/**
*  Sets SMTP username.
*  @var string
*/
var $Username = "MinombredeusuarioDEGMail";

/**
*  Sets SMTP password.
*  @var string
*/
var $Password = "MiContraseñadeGMail";
archivo class.smtp.php
Código:
class SMTP
{
/**
*  SMTP server port
*  @var int
*/
var $SMTP_PORT = 465;// estaba a 25 en original

//*NOTA: Tengo el servidor MErcury que instala el pack XAMPP por si no me diarais alguna solucion seria como configurar el servidor mercury))
« Última modificación: 02 Mayo 2008, 15:13 por Lokoo » En línea
Páginas: [1] Ir Arriba Imprimir 
Ir a:  







Consolas     La Web de Goku     MilW0rm     MundoDivx

Hispabyte     Truzone     TodoReviews     ZonaPhotoshop

hard-h2o modding    Foros de ayuda    Yashira.org    Videojuegos    indetectables.net   

Noticias Informatica    Seguridad Informática    ADSL    Foros en español    eNYe Sec

Todas las webs afiliadas están libres de publicidad engañosa.

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC