Question
TWiki gives me a mail send error when trying to register a user.
Apparently I already had Net::SMTP installed but not configured so I did the force install. During the program I added the SMTP host name, smtp.comcast.net, and the subsequent test said it passed. The script appeared as if it was going to ask for a user name and password for the SMTP host but it never did, and I'm not sure if one is required as it is for POP3.
Anyway, TWiki still gives me this error: ERROR: Can't send mail using Net::SMTP (can't connect to 'mail')
The path to Net::SMTP is: /usr/local/lib/perl5/5.8.5/Net/SMTP.pm
Is that correct? Is the error saying it can't find the module,or the module can't send mail?
testenv (
http://www.torva.com/twiki/bin/testenv
) doesn't report this path.
What's wrong?
Environment
--
JeffColter - 27 Feb 2005
Answer
If all else fail, read the directions department...
I put the path to Net::SMTP in $mailProgram in TWiki.cfg, and changed SMTPMAILHOST to my SMTP host, and it works now!
--
JeffColter - 27 Feb 2005
Just FYI, setting $mailProgram to the path to Net::SMTP would not have any effect - if TWiki can find
CPAN:Net::SMTP
, it uses it, ignoring the $mailProgram setting.
--
RichardDonkin - 24 Mar 2005