Extension talk:New User Email Notification

Archived discussions can be found here

Add a Name to mail reciptients listed in $wgNewUserNotifEmailTargets
First of all i'd like to say "thanks" to all who work(ed) on this extension: it's really cool.

Today i set up a mailadress on my mailserver which distributes incoming mail to several other adresses. I put it into $wgNewUserNotifEmailTargets in my wiki so the new user notification is sent to it. Unfortunally The Email body says now "Hello forwarder@mywikisystem.net ...".

Maybe it is possible to use an associative array instead of the simple array, something like this:

$wgNewUserNotifEmailTargets = array ( "E-Mail forwarder member" -> "forwarder@mywikisystem.net", "anothermailforwarder member" -> "forwarder2@mywikisystem.net" )

This way, even for adresses in $wgNewUserNotifEmailTargets The mail body could contain a better title.

--Rootkid 08:49, 5 September 2008 (UTC)

Users not getting confirmation email
It seems like the servers for some of the users on my wiki aren't allowing through the confirmation email. Is there anything that can be done about this from the wiki side of things? --Pschloss 18:06, 24 July 2009 (UTC)

Doesn't work in conjunction with LDAP Authentication Plugin
 SOLVED

I have Extension:LDAP Authentication running, and this extension doesn't work. If I disable LDAP, the extension does work, so that's definitely the issue. Any ideas how to make the two cooperate together? Timneu22 13:51, 23 March 2010 (UTC)


 * The fix &mdash; possibly inelegant &mdash; is to add the wfRunHooks line in SpecialUserLogin.php.

Problem with getting IP
Here is my makeMessage function:

However, I get this error:

(I use One&One).

Any ideas? -- Phantom Steve /talk &#124;contribs \ 08:57, 18 June 2010 (UTC)

Re:Problem with getting IP --jdpond 11:38, 18 June 2010 (UTC)

 * You forgot to declare $wgContIP as global (see above corrected)
 * Thanks for that, Jpond, but I'm still getting the same error! Here is a copy from my current LocalSettings.php file (copy and pasted directly):


 * And here is what I have in my current NewUserNotif.class.php (copy and pasted directly):


 * I also tried changing the line to  but I still get the same error message, but with   instead of   in the error message -- Phantom Steve /talk &#124;contribs \ 12:45, 18 June 2010 (UTC)


 * Try the above. I should have looked at this before replying.  wfGetIP requires no object, there is no such thing as $wgContIP
 * Thanks, that got the IP working. I can't get the Email address to work, but I'll leave that for now. Thanks for all your help -- Phantom Steve /talk &#124;contribs \ 15:55, 18 June 2010 (UTC)
 * See above for email address - sorry should have fixed it the first time. --jdpond 17:48, 18 June 2010 (UTC)

Re:Problem with getting IP --jdpond 00:47, 19 June 2010 (UTC)

 * I just released 1.5.2 - I'd had it in the can for over a year, but didn't want to do the documentation. You can download from trunk.


 * If you upgrade to 1.5.2, all you have to do is add the following two lines in localsettings.php below the extension inclusion: