Hi again!
I have solved the problema.
I missed out to install the MAIL and NET SMTP packages from PEAR:
JUST RUN:
...>pear install Mail
and
...>pear install Net_SMTP

And.. voila!, that's all!

I also concluded I really need a "for dummies" book. Hehehe

Thanks anyway 

Best regards!

Lorena
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Lorena W.
Baruch Armenta
Enviado el: Martes, 12 de Junio de 2012 12:22 p.m.
Para: 'MediaWiki announcements and site admin list'
Asunto: Re: [Mediawiki-l] about email configuration

Hi there, still have problemas with my email configuration.

No, sorry, now I have problems with PEAR installation.

I had configured like this:

IN PHP.INI

[mail function]

SMTP = localhost

smtp_port = 25

mail.add_x_header = On

mail.log = E:\MediaWiki

 

 

I think this config it doesn't matter if I configure

LOCALSETTINGS.PHP

$wgEnableEmail      = true;

$wgEnableUserEmail  = true; # UPO

 

$wgEmergencyContact = "[email protected]:8081";

$wgPasswordSender   = "[email protected]";

$wgPasswordSenderName   = "Wiki Administrator";

 

$wgEnotifUserTalk      = true; # UPO

$wgEnotifWatchlist     = true; # UPO

$wgEmailAuthentication = true;

 

$wgSMTP = array(

 'host'     => "ssl://smtp.gmail.com", //could also be an IP address

 'IDHost'   => "gmail.com",

 'port'     => 465,

 'auth'     => true,

 'username' => "myusergmail",

 'password' => "mypwd"

);

 

 

BUT WIKI ASKED FOR "PEAR PACKAGE"

So I downloaded and installed it  on php directory. I have this in PHP.INI:

;***** Added by go-pear

include_path=".;C:/Archivos de programa/PHP/pear/"

;*****

 

And also probe that it Works in web browser.


include_path

.;C:/Archivos de programa/PHP/pear/

.;C:/Archivos de programa/PHP/pear/

 

Nevertheless I still having the message:

Error interno

PEAR mail package is not installed

Backtrace:

#0 C:\Archivos de programa\Apache Software
Foundation\Apache2.2\htdocs\wikipcs\includes\User.php(3254):
UserMailer::send(Object(MailAddress), Object(MailAddress), 'Detalles de la
...', 'El usuario Lwba...', NULL)
#1 C:\Archivos de programa\Apache Software
Foundation\Apache2.2\htdocs\wikipcs\includes\specials\SpecialPasswordReset.p
hp(220): User->sendMail('Detalles de la ...', 'El usuario Lwba...')
#2 [internal function]: SpecialPasswordReset->onSubmit(Array)

…. Etc.. etc..

 

I have googled the message about PEAR but still don’t understand and there
is a lot of people that seems to have same problem but no answer.

 

Hope you have some directions to give me or please tell me if I need a “for
dummies” book because really is annoying to fight with this kind of
problems.

=) thank you very much and sorry my emotional expressions.

 

Best regards

 

Lorena Baruch

 

 

 

-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Jeremy Baron
Enviado el: Miércoles, 06 de Junio de 2012 01:37 p.m.
Para: MediaWiki announcements and site admin list
Asunto: Re: [Mediawiki-l] about email configuration

 

On Wed, Jun 6, 2012 at 1:23 PM, Lorena W. Baruch Armenta

<[email protected]> wrote:

> I am new in this list. I am learning how to install and use a wiki, but I

> have this error:

> 

> Error al enviar correo: Failed to connect to mailserver at "localhost"
port

> 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

 

This probably means you don't have an SMTP server running on the same

host as your webserver.

 

See also https://www.mediawiki.org/wiki/Manual:$wgSMTP

 

-Jeremy

 

_______________________________________________

MediaWiki-l mailing list

[email protected]

https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to