[Mediawiki-l] Watchlist is not notified

Jack Eapen C jackec at suntecgroup.com
Fri Jun 22 14:05:45 UTC 2007


Hi,

No, there is no wgsmtp setting in my localsettings.php
Does this has to do something with smtp authentication?
Bcs, the linux server on which MW is running don't have a mail server.
Our mail server is Exchange server.

I wrote a small script as follows:
<?php
$email="jackec at suntecgroup.com";
$send=mail($email,"Test","Hello Jack");
if ($send) {
echo "Mail sent";
}
else {
echo "Error";
}
?>

When I call this, I'm getting the message "Mail sent", but no mail
actually reaches-both on Windows and Linux. (I'm not a programmer. So
not sure, whether the script itself is wrong :) ) 

Regards,
 
Jack
----------------------------------------------------------------
"Techies are like stars--they rise and set, they have the worship of the
world, but no repose"

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Rob Church
Sent: Friday, June 22, 2007 7:16 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Watchlist is not notified

On 22/06/07, Jack Eapen C <jackec at suntecgroup.com> wrote:
> I'm using MW 193. I first set it up on Winodws and then ported to
Linux. In windows, the users were getting notification emails when a
watching page is changed. But in the production version in linux, that's
not happening. There are some other programmes (like Moodle) in the same
server which has some mail notification features and they are working
correctly. So I believe, the PHP mail is working fine.

Were you previously using PEAR::Mail, which would be the case if
$wgSMTP has been defined in LocalSettings.php? This is a common setup
under Windows, since PHP's mail() function outright sucks on that
platform, but it's not usually needed under Linux, where PHP and the
mail transfer agent work together pretty well.

If $wgSMTP is present in LocalSettings.php, comment it out and see if
it makes a difference.


Rob Church

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You



More information about the MediaWiki-l mailing list