Question
New users cannot register on my TWiki site. I have tried, and the system tries to send an e-mail to the new user, but I get the following error screen: (note the e-mail addresses have been doctored in the screen below)
Attention
Mail Error
An e-mail could not be delivered. Please notify your TWiki administrator, myusername@mac.com
Mail to: newuser@yahooNOSPAM.com
Errors: ERROR: Can't send mail using Net::SMTP. Enter mail, end with "." on a line by itself 5.1.0 Invalid From header. at /System/Library/Perl/5.8.6/CGI/Carp.pm line 314
CGI::Carp::realdie('ERROR
Can\'t send mail using Net::SMTP. Enter mail, end with...') called at /System/Library/Perl/5.8.6/CGI/Carp.pm line 385
CGI::Carp::die('ERROR
Can\'t send mail using Net::SMTP. Enter mail, end with...') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/Net.pm line 313 TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x1827818)', 'Date: Thu, 28 Sep 2006 21:10:06 Local\x{a}From: Charles Sykora <c...') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/Net.pm line 197 TWiki::Net::__ANON__() called at /Users/charlessykora/Sites/TWIKI/lib/CPAN/lib///Error.pm line 379 eval {...} called at /Users/charlessykora/Sites/TWIKI/lib/CPAN/lib///Error.pm line 371 Error::subs::try('CODE(0x1a5ee54)', 'HASH(0x1aaed6c)') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/Net.pm line 213 TWiki::Net::sendEmail('TWiki::Net=HASH(0x1827818)', 'From: Charles Sykora <myusername@mac.com>\x{a}To: NewUser? ...') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/UI/Register.pm line 1142 TWiki::UI::Register::_sendEmail('TWiki=HASH(0x511258)', 'registerconfirm', 'HASH(0x258a2d8)') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/UI/Register.pm line 428 TWiki::UI::Register::_requireVerification('TWiki=HASH(0x511258)', '/Users/charlessykora/Sites/TWIKI/data/RegistrationApprovals') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/UI/Register.pm line 375 TWiki::UI::Register::registerAndNext('TWiki=HASH(0x511258)', '/Users/charlessykora/Sites/TWIKI/data/RegistrationApprovals') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/UI/Register.pm line 90 TWiki::UI::Register::register_cgi('TWiki=HASH(0x511258)') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/UI.pm line 109 TWiki::UI::__ANON__() called at /Users/charlessykora/Sites/TWIKI/lib/CPAN/lib///Error.pm line 379 eval {...} called at /Users/charlessykora/Sites/TWIKI/lib/CPAN/lib///Error.pm line 371 Error::subs::try('CODE(0x1a3e294)', 'HASH(0x1a5b028)') called at /Users/charlessykora/Sites/TWIKI/lib/TWiki/UI.pm line 158 TWiki::UI::run('CODE(0x19a8774)') called
Too many failures sending mail
Environment
--
CharlesSykora - 29 Sep 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I never installed TWiki on Mac OS but did you setup postfix on your machine? I think you need a mail agent such as postfix to be able to send mail. Have a look at
that
. Hope it helps. I had quite a struggle to get the mail working on my own Linux installation myself. Good luck!
--
StephaneLenclud - 02 Oct 2006
Run
configure and make sure the "mail and proxies" settings are correct.
See related support questions on
"mail error"
--
PeterThoeny - 02 Oct 2006