Question
When I fill out the registration form on my TWiki test site I get:
Can't call method "mail" on an undefined value at ../lib/TWiki/Net.pm line 187. I can't seem to find what seems to be a broken variable, does anyone have a clue?
- TWiki version: 20011201
- Web server: Apache 1.3.12
- Server OS: Linux RedHat 7.2
- Web browser: Netscape 4.x
- Client OS: Linux RedHat 7.2
--
RobLingelbach - 01 May 2002
Answer
Check that you have a valid address for your mail server, configured in
TWikiPreferences (default is 'mail').
There is a bug fix that provides a more meaningful error message - see
NetSmtpFailsToConnect for the patch.
--
RichardDonkin - 01 May 2002
Just wanted to add that this has been covered a few times, you might want to see these pages -- read the top page first, and so on:
(Note (to me?): I (re)found these by searching for "187" in the text of a page.)
--
RandyKramer - 01 May 2002