Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: FreeBSD 5.3
Web server: Apache 2.053
Perl version: 5.8.5
Client OS: XP
Web Browser: Firefox
Categories: Mail

-- 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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-03-24 - RichardDonkin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.