Question
I am currently having a problem with the email system in twiki. When users register, they are able to receive the first email with their activation code, but the second email which confirms their registration fails. This is the error I get:
An e-mail could not be delivered. Please notify your TWiki administrator, [email address removed]
Mail to: ERROR: Can't send mail using Net::SMTP. 5.0.0 ... Unbalanced '<'
TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x78af38)','Date
Thu, 22 Jun 2006 23:18:25 GMT\x{a}From: <YanMin.Hong@wells...') called at /opt/alerts/apps/twiki4/lib/TWiki/Net.pm line 191 TWiki::Net::__ANON__() called at /opt/alerts/apps/twiki4/lib/CPAN/lib///Error.pm line 387 eval {...} called at /opt/alerts/apps/twiki4/lib/CPAN/lib///Error.pm line 379 Error::subs::try('CODE(0x9025a0)','HASH(0xa04d18)') called at /opt/alerts/apps/twiki4/lib/TWiki/Net.pm line 207
TWiki::Net::sendEmail('TWiki::Net=HASH(0x78af38)','From
<[email address removed]>\x{a}To: Test User3 <YanMin.Ho...') called at /opt/alerts/apps/twiki4/lib/TWiki/UI/Register.pm line 942 TWiki::UI::Register::_emailRegistrationConfirmations('TWiki=HASH(0x113168)','HASH(0x86926c)') called at /opt/alerts/apps/twiki4/lib/TWiki/UI/Register.pm line 754 TWiki::UI::Register::finish('TWiki=HASH(0x113168)','/opt/alerts/apps/twiki4/data/RegistrationApprovals') called at /opt/alerts/apps/twiki4/lib/TWiki/UI/Register.pm line 89 TWiki::UI::Register::register_cgi('TWiki=HASH(0x113168)') called at /opt/alerts/apps/twiki4/lib/TWiki/UI.pm line 97 TWiki::UI::__ANON__() called at /opt/alerts/apps/twiki4/lib/CPAN/lib///Error.pm line 387 eval {...} called at /opt/alerts/apps/twiki4/lib/CPAN/lib///Error.pm line 379 Error::subs::try('CODE(0x8e05e0)','HASH(0x3630dc)') called at /opt/alerts/apps/twiki4/lib/TWiki/UI.pm line 146 TWiki::UI::run('CODE(0x288c6c)') called
Too many failures sending mail
Errors: %PARAM2%
Environment
--
YanMinHong - 22 Jun 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.
This sounds like there is an e-mail address that is entered incorrectly.
Try checking your e-mail address for WIKIWEBMASTER in the preferences, and if you did motifications to your mail templates, check them for a missing >.
--
SteffenPoulsen - 25 Jun 2006
email address is set correctly, and I'm pretty sure I didnt touch the email templates because I'm not even sure where they are. Any other suggestions?
--
YanMinHong - 29 Jun 2006
I have exacly the same problem in one of my installations and also no idea how to solve this. I did not even find any (significant) differeces between those working and those don't.
--
MikeHerzog - 11 Sep 2006
This is likely caused by
Bugs:Item2823
- Some SMTP servers does not accept email addresses in the form "User Name <userid@domain>". This doesn't change the headers or body of the email being sent, just the format of the email address used in the SMTP protocol itself.
Upgrade to
TWikiRelease04x00x04 and apply
HotFix04x00x04x03.
--
PeterThoeny - 11 Sep 2006