Question
How can I disable the need for email send upon new user registration?
I do not have access to a SMTP sending server.
(I have researched the support documentation thoroughly, I cannot find this question answered. I found one independent blog where it was said this cannot be done.)
Environment
--
MichaelClarage - 14 May 2006
Answer
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.
In configure. Security setup
{Register}{NeedVerification}
Set it off.
--
KennethLavrsen - 15 May 2006
Setting
{Register}{NeedVerification} to off only disables the verification e-mail. Notification e-mail is still sent. This is in fact the blocker on updating TWiki.org to TWiki 4.
--
PeterThoeny - 15 May 2006
--
MichaelClarage - 15 May 2006
Thank you very much for the very quick responses.
So, there is no way I can use the Twiki system to actually build, edit, present a Web until I get access to a SMTP sending server? Are there any public access servers I could point to and use for the time being? Any thoughts of work-arounds? Any way to create or use Users aside from the Registration process?
--
MichaelClarage - 15 May 2006
The simplest workaround is to edit lib/TWiki/Net.pm and add "return;" as the first line of
sub sendEmail
--
CrawfordCurrie - 16 May 2006
--
NateClark - 21 May 2006
I'm experiencing the same problem: no SMTP server and trying to register users, resulting in
TWikiRegistration hang. I edited lib/TWiki/Net.pm to disable sending of email, and presto,
TWikiRegistration no longer hangs. The only problem is, I'm being asked to enter an activation code for my first user, but have obviously not received the email containing the code. Is it possible to get past this obstacle?
--
NateClark - 21 May 2006
The registration code for the first user can be found in a file name in
data/RegistrationApprovals (file names are named
WikiUsername.5760495378, last part being the registration code).
You will need to visit the registration page to complete registration, i.e.
/twiki/bin/register?action=verify;code=WikiUsername.5760495378.
--
SteffenPoulsen - 21 May 2006
In your case it might be better to disable the e-mail address confirmation.
--
PeterThoeny - 22 May 2006
Peter,
How to disable e-mail address confirmation?
--
TWikiGuest - 19 Aug 2008
For those how need a solution still now:
Long time ago I had the same problem and solved it changing the content of {MailProgram} setting to something like this:
>>/somenicedirectory/twikimessages.txt
That way TWiki has a way to "get rid" of the data, and simultaneously you have a location where to look should the messages be of interest.
--
Detlef Marxsen - 2018-06-20