My setup is as follows:
1) Yes you do need the PEAR thing. I'm running Gentoo so it was a simple "emerge PEAR-Net_SMTP", and everything just dropped into the right place.
2) My $wgSMTP is as follows:
$wgSMTP = array { "host" => 'myMailServer', "IDHost" => 'mycompany.com', "port" => "25", "auth" => false };
In my situation I have a Linux machine running within a Windows network. The mail server is a Microsoft mail server, myMailServer - the names have been changed to protect the innocent, so I just pointed wgSMTP at it. I don't need to log in to send email hence "auth" is false. If you do need to log in then you have to provide a user name and password.
3) That's it.
Regards, Andrew Lowe
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Simon Renshaw Sent: Wednesday, 31 May 2006 6:50 AM To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Email setup
Hi,
I'm trying to setup Wiki 1.6.X to use email notification.
In my LocalSettings file:
$wgEnableEmail = true; $wgEnableUserEmail = true; $wgEmergencyContact = "wiki@castortech.com"; $wgPasswordSender = "wiki@castortech.com";
$wgSMTP is giving me problems.
I checked: http://www.mediawiki.org/wiki/Help:%24wgSMTP but I'm not sure how to set it up.
Do I need that PEAR thing?
I use an external SMTP server with my backup app and I only had to tell it the name and port of the server.
Do I only need host and port or everything? And Must I keep the "" where they are?
$wgSMTP = array( 'host' => "localhost", 'IDHost' => "domain for MessageID", 'port' => 25, 'auth' => false, 'username' => "my_user_name", 'password' => "my_password" );
Thanks! Simon _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I installed PEAR on my server and the Mail package that came with it.
In the doc on Mediawiki's site it is written as:
$wgSMTP = array( 'host' => "localhost", 'IDHost' => "domain for MessageID", 'port' => 25, 'auth' => false, 'username' => "my_user_name", 'password' => "my_password" );
And you wrote it as:
$wgSMTP = array { "host" => 'myMailServer', "IDHost" => 'mycompany.com', "port" => "25", "auth" => false };
Which one is right? Or are both valid?
This is running on Windows 2003, IIS 6 and PHP 5.0.5.
I tried and still haven't received an email.
Thanks! Simon
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Andrew Lowe Sent: 30 mai, 2006 18:59 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Email setup
My setup is as follows:
1) Yes you do need the PEAR thing. I'm running Gentoo so it was a simple "emerge PEAR-Net_SMTP", and everything just dropped into the right place.
2) My $wgSMTP is as follows:
$wgSMTP = array { "host" => 'myMailServer', "IDHost" => 'mycompany.com', "port" => "25", "auth" => false };
In my situation I have a Linux machine running within a Windows network. The mail server is a Microsoft mail server, myMailServer - the names have been changed to protect the innocent, so I just pointed wgSMTP at it. I don't need to log in to send email hence "auth" is false. If you do need to log in then you have to provide a user name and password.
3) That's it.
Regards, Andrew Lowe
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Simon Renshaw Sent: Wednesday, 31 May 2006 6:50 AM To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Email setup
Hi,
I'm trying to setup Wiki 1.6.X to use email notification.
In my LocalSettings file:
$wgEnableEmail = true; $wgEnableUserEmail = true; $wgEmergencyContact = "wiki@castortech.com"; $wgPasswordSender = "wiki@castortech.com";
$wgSMTP is giving me problems.
I checked: http://www.mediawiki.org/wiki/Help:%24wgSMTP but I'm not sure how to set it up.
Do I need that PEAR thing?
I use an external SMTP server with my backup app and I only had to tell it the name and port of the server.
Do I only need host and port or everything? And Must I keep the "" where they are?
$wgSMTP = array( 'host' => "localhost", 'IDHost' => "domain for MessageID", 'port' => 25, 'auth' => false, 'username' => "my_user_name", 'password' => "my_password" );
Thanks! Simon _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org