El 03/05/13 17:39, Rowe, Dolores A escribió:
Teammates,
On a Windows 2008 server, using MediaWiki v1.19.2, we are having troubles getting the
Email Confirmation mechanism to work. A message is displayed that the confirmation was
sent, however it never comes to the email address it was sent to. I believe it is the
script
UserMailer.php.
Does anyone have any ideas about how I could debug where the email problem lies ?
I can send an email using a php script evoked through the browser.
It is a simple script like this that arrives correctly.
<? phpinfo();
mail ("user1(a)domain.com".com", "Test", "Hi from PHP!",
"Bcc: user2(a)domain.com\r\n\r\nSending email from PHP.\r\n");
?>
thx,
Lori
Unless you have set $wgSMTP in your LocalSettings, MediaWiki will also
use the php mail() function, so it's odd that it doesn't arrive when
done from the wiki.
You are right in that the implementation is in UserMailer.php You could
log the parameters used just before the mail() call and then try with
those parameters in your sample script.