elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Recuerda que debes registrarte en el foro para poder participar (preguntar y responder)


+  Foro de elhacker.net
|-+  Programación
| |-+  Desarrollo Web
| | |-+  PHP (Moderador: #!drvy)
| | | |-+  EMAILS en Joomla LOCAL , AYudaaaa
0 Usuarios y 2 Visitantes están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: EMAILS en Joomla LOCAL , AYudaaaa  (Leído 3,083 veces)
Lokoo

Desconectado Desconectado

Mensajes: 28


Ver Perfil
EMAILS en Joomla LOCAL , AYudaaaa
« en: 2 Mayo 2008, 15:14 pm »

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))


En línea

дٳŦ٭
GNU/Linux Infrastructure Specialist
Ex-Staff
*
Desconectado Desconectado

Mensajes: 5.110


Ver Perfil WWW
Re: EMAILS en Joomla LOCAL , AYudaaaa
« Respuesta #1 en: 2 Mayo 2008, 16:37 pm »

Instala un relay como el ar6osoft mailer.  ;)


En línea

Lokoo

Desconectado Desconectado

Mensajes: 28


Ver Perfil
Re: EMAILS en Joomla LOCAL , AYudaaaa
« Respuesta #2 en: 2 Mayo 2008, 21:22 pm »

He instalado el ArGosOft Mail Server con las siguientes opciones:
Dns SErver: X.XXX.XX.XX   // nose si estara correcto es el que pone al acer cmd -- >ipconfig en mi pc  ( mi pc esta en una lan inalmbrica domestica)
Opciones marcadas:
Load server at windows start up
Automatically start the server
allow relay
bo no use web interfacer
 // lo demas en blanco
en SMPT authentification:
 smtp username :  xxxx@gmail.com
smtp pasword:  XXXXxxx
// tengo el el configuration.php de joomla todo bien puesto los mismo user y contrasña
//en el php.ini en la funcion mail tngo como host : 192.0.0.1

total que aun siguen sin yegar los mails de activacion de cuenta aunqe responde el el Argosoft de la sigueiente manera:

Código:
02/05/2008 21:01:42 - SMTP Server started. Listening on port 25
02/05/2008 21:01:42 - POP3 Server started. Listening on port 110
02/05/2008 21:01:42 - Finger Server started. Listening on port 79
02/05/2008 21:01:42 - Error starting Web server: [10048] Address already in use
Message size limit 5 MB
Winsock version: $0101
High version: $0202
Description: WinSock 2.0
System status: Running
Maximum sockets: 32767
Local host: lukas
Local addresses: 192.168.1.50,5.198.98.83
Local host after reverse lookup: lukas
02/05/2008 21:05:18 - Requested SMTP connection from 127.0.0.1
02/05/2008 21:05:19 - Requested SMTP connection from 127.0.0.1
02/05/2008 21:05:19 - Error: [10054] Connection reset by peer
02/05/2008 21:05:19 - SMTP connection with 127.0.0.1 ended. ID=1
02/05/2008 21:05:20 - Error: [10054] Connection reset by peer
02/05/2008 21:05:20 - SMTP connection with 127.0.0.1 ended. ID=2
02/05/2008 21:05:51 - Requested SMTP connection from 127.0.0.1
02/05/2008 21:05:51 - Requested SMTP connection from 127.0.0.1
02/05/2008 21:05:51 - Error: [10054] Connection reset by peer
02/05/2008 21:05:51 - SMTP connection with 127.0.0.1 ended. ID=3
02/05/2008 21:05:52 - Error: [10054] Connection reset by peer
02/05/2008 21:05:52 - SMTP connection with 127.0.0.1 ended. ID=4
02/05/2008 21:09:32 - Requested SMTP connection from 127.0.0.1
02/05/2008 21:09:33 - Received 876 bytes
02/05/2008 21:09:33 - Requested SMTP connection from 127.0.0.1
02/05/2008 21:09:33 - SMTP connection with 127.0.0.1 ended. ID=5
02/05/2008 21:09:33 - [     7] Delivering to er_Sevillano89@hotmail.com
02/05/2008 21:09:33 - [     7] Attempting to deliver to the domain hotmail.com
02/05/2008 21:09:33 - [     7] Retrieved 1 MX records for domain hotmail.com
02/05/2008 21:09:33 - [     7] Trying the server hotmail.com: 64.4.32.7
02/05/2008 21:09:34 - Received 698 bytes
02/05/2008 21:09:34 - SMTP connection with 127.0.0.1 ended. ID=6
02/05/2008 21:09:54 - [     7] Winsock error when communicating with exchanger hotmail.com: 64.4.32.7: [10060] Connection timed out
02/05/2008 21:09:54 - [     7] Trying the server hotmail.com: 64.4.33.7
02/05/2008 21:10:15 - [     7] Winsock error when communicating with exchanger hotmail.com: 64.4.33.7: [10060] Connection timed out
02/05/2008 21:10:15 - [     7] Server error: [10060] Connection timed out. Will retry in 0 hr 10 min
02/05/2008 21:10:16 - [     8] Delivering to jelukas89@gmail.com
02/05/2008 21:10:16 - [     8] Attempting to deliver to the domain gmail.com
02/05/2008 21:10:16 - [     8] Retrieved 1 MX records for domain gmail.com
02/05/2008 21:10:16 - [     8] Trying the server gmail.com: 64.233.161.83
02/05/2008 21:10:37 - [     8] Winsock error when communicating with exchanger gmail.com: 64.233.161.83: [10060] Connection timed out
02/05/2008 21:10:37 - [     8] Trying the server gmail.com: 64.233.171.83
     

Como lo configuro correctamentE?????                            
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines