Question
I have setup TWiki on my home computer. I use a dialup connection to connect to the net. Is it possible to use a web based email provider for sending TWiki email notification?
.
- TWiki version:
- Web server:
- Server OS:
- Web browser:
- Client OS:
--
TWikiGuest - 31 Mar 2002
Answer
No, this is not possible. However, any dialup ISP should have an SMTP server - just have a look on their tech support pages and specify this in the email part of
TWikiPreferences. You may need to dial up before doing something requiring notification, depending on the timeouts involved.
--
RichardDonkin - 31 Mar 2002
When I try that, I get
Can't call method "mail" on an undefined value at ../lib/TWiki/Net.pm line 187.
--
TWikiGuest
I believe this is the known problem that is discussed on several other pages of TWiki, including:
Some people have solved the problem by making a change around line of the 38 Sept2001 release in file Net.pm -- they changed $useNetSmtp= require Net::SMTP to $useNetSmtp=0.
Other people have solved the problem by commenting out the test for Net::SMTP in TWiki::Net around line 164 (probably line 187 in your case):
eval {
# $useNetSmtp = require Net::SMTP;
}
An attempt was made to solve this problem in the main release (IIRC) but it seems to keep cropping up.
--
RandyKramer - 01 Apr 2002
The error means that TWiki could not connect using SMTP to the specified server - try an email client at the same time, sending via SMTP, to diagnose the problem here.
There is also a patch at
NetSmtpFailsToConnect that provides better error reporting on SMTP connections, but using an email client is easier.
Since you haven't specified your operating system above (
please do this!), I will have to guess you are using Windows - in which case Randy's solution, which disables Net::SMTP, is not going to work.
--
RichardDonkin - 01 Apr 2002