Tags:
create new tag
view all tags

Question

Whenever someone creates an account on my twiki, I recieve their registration e-mail as well. Anyone know how to disable this?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Suse
Web server: Apache
Perl version: 5.88
Client OS:  
Web Browser:  
Categories: Registration

-- BrianMahoney - 01 Aug 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

The feature to inform the %WIKIWEBMASTER% about registrations is intentional: For public TWikis, it allows the admin to immediate take action if there are spammer registrations.

To disable it, you'd best hack the code at lib/TWiki/UI/Register.pm: There's a subroutine _emailRegistrationConfirmations where the mails are sent. Simply return before the mail to the administrator is sent.

If you don't want to touch the code, have a look at templates/registernotifyadmin.tmpl, which is the template for the mail to the webmaster. Change the To: address to something different, but keep in mind that if the mail address is invalid, this will fill your error log.

-- HaraldJoerg - 01 Aug 2007

Thanks for your help Harald - I'm getting both the registered user information & their user authentication email. I think what you mentioned was the registered user info, I am completely fine with accepting that. However, I stille should not be recieving other people's authentication e-mails - I'm guessing something is configured improperly?

-- BrianMahoney - 01 Aug 2007

Ok, let's try another one - which, if I understand you correctly, would be even easier and cleaner to solve. Are you referring to the mails which users receive to confirm their registration by entering a numeric code? In that case, simply edit templates/registerconfirm.tmpl and delete the line beginning with BCC:.

-- HaraldJoerg - 02 Aug 2007

Thank you so much Harald you are the best!

-- BrianMahoney - 03 Aug 2007

-- BrianMahoney - 03 Aug 2007

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-08-03 - BrianMahoney
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.