On Sep 12, 3:51 pm, "Cooke, Mark" <[email protected]> wrote: > Really? I do not have that line in my config and I have been using smtp > happily for quite a while. In fact, according > tohttp://trac.edgewall.org/wiki/TracNotification, `email_sender` is only > "since 0.12" so should have no effect in your 0.11.7 setup! > >
My bad. Indeed, it doesn't seem to change the behavior. > > > > > > > > > The email are sent allright. > > > Another issue, I receive the email verification mail every time. I can > > clic on the link and log in, it doesn't do anything. > > I do not understand, what are you expecting? > > Ok, I did some more testing, and the problem seems worse than I originally thought. Whenever I enable smtp_enabled, all pages (wiki, tickets, etc) are served with an error "TypeError: __call__() got an unexpected keyword argument 'link'", and I receive an email saying that my email should be verified. Then, whenever I click the link it says that my email has already been verified. In trac.log I get: 2011-09-12 18:25:52,627 Trac[notification] INFO: Sending SMTP notification to smtp.free.fr:25 to [u'[email protected]'] 2011-09-12 18:25:57,025 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 217, in dispatch self._post_process_request(req, *resp) File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 309, in _post_process_request resp = f.post_process_request(req, *resp) File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 869, in post_process_request email=email, link=link)))) TypeError: __call__() got an unexpected keyword argument 'link' Surely, it is not the expected behavior and something is dead wrong in my config. > > > > > smtp_enabled = false > > Umm, how are you getting emails when your ini file has not enabled SMTP ??? > My bad. I keep smtp_enabled to false in normal operations so that my users can use trac. I copy/pasted the current config (outside my testing). -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
