Ranjan schrieb:
I exactly followed the tutorial at 
http://lucasmanual.com/mywiki/TurboGears2/Addressbook
, but still getting the following error:

MailNotEnabledException: An attempt was made to use a facility of the
TurboMail framework but outbound mail hasn't been enabled in the
config file [via mail.on].

Not able to diagnose why. Need help.

Basically this message can be caused by two things:
1. You did not add mail.on to the configuration.
2. TurboMail was not started/the controller was not loaded or the specified
   manager/transport was not found (until I fix that ticket):
   http://www.python-turbomail.org/ticket/90

Current Turbo

Btw: The tutorial you linked uses "mail.on = true" in the config. I learned from Christopher Zwerschke, that Pylons/TG2 does not evaluate configuration options (as TG1 did) so I implemented a custom wrapper in http://www.python-turbomail.org/ticket/107.

However this wrapper only accepts 'True' (not 'true') in order to model TG1 as closely as possible. What's the general Pylons/TG2 philosophy here?


fs

PS: TurboMail's public svn is down for the moment. Look here how to get the latest TurboMail: http://groups.google.com/group/turbomail-devel/msg/1115d0763b78b95b

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to