• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4476: Missing error message when registration mail fails to be sent

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


I made a small but common mistake and swapped the {SMTP}{MAILHOST} and {SMTP}{SENDERHOST} when configuring TWiki.

This is naturally wrong but a common trap. And we often see people having trouble with registration of first user because of email problems.

When you register the browser reports

Error registering new user

Internal error when sending email to kenneth@lavrsenNOSPAM.dk.

That may be OK

But in the apache error_log there is nothing. Zip zippelip. Nada.

This bug report simply suggests to help the twiki admin trouble shooting this common type of error by reporting the errors we get from either sendmail or Net::SMTP when the mailing fails.

-- TWiki:Main/KennethLavrsen - 21 Aug 2007

I output the error to the warning log, for two reasons:

  1. Not all users can read the apache error log
  2. It's non-fatal to TWiki

Very good solution. Thanks for fixing this

-- TWiki:Main.KennethLavrsen - 16 Sep 2007

Summary Missing error message when registration mail fails to be sent
ReportedBy TWiki:Main.KennethLavrsen

SVN Range TWiki-4.2.0, Tue, 21 Aug 2007, build 14577
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins TWikirev:14890
TargetRelease minor

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2008-01-22 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback