Jump to content

Manual talk:$wgEmergencyContact

Add topic
From mediawiki.org
Latest comment: 10 years ago by Actiuinformatica

Don't know if this is the right place, but ... I use php mail() function, because $wgSMTP doesn't work for me. This results in mails with

X-Mailer: MediaWiki mailer
From: admin@XXX.de
Message-Id: <20081114114447.60F0BA385E98@YYY.YYY.de>
Date: Fri, 14 Nov 2008 12:44:47 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
Sender: nobody@localhost.localdomain

as header. So php is running as user "nobody" on the server (YYY) and Wiki-Domain is XXX.

Is it possible to set "Sender" to admin@XXX.de ?

My LocalSettings for mail are:

### Server
$wgServer	    = "http://www.XXX.de";
$wgServerName	    = "XXX.de";

### Email Settings 
$wgEnableEmail      = true;
$wgEnableUserEmail  = true;
$wgEmergencyContact = "admin@XXX.de";
$wgNoReplyAdress = $wgEmergencyContact;
$wgPasswordSender   = "admin@XXX.de";
$wgEnotifUserTalk = true;  # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;
$wgEmailConfirmToEdit  = true;
$wgUserEmailUseReplyTo = true;

Thanks in advance - Martin


I do not know how this looks to others but to me it is unclear whether this address will be shown to visitors if something goes wrong or if it is only used internally to send e-mail. An important distinction, if you ask me...--194.109.234.123 23:08, 3 November 2007 (UTC)Reply

-- See changes to main page for clarification on your question -Hoggwild5 13:21, 16 May 2008 (UTC)Reply
I don't see a clear sentence that says "Since the version XX the value is never shown to visitors" or "The value is still shown to visitors in XX circumstances". --Actiuinformatica (talk) 08:42, 28 November 2014 (UTC)Reply