On Tue, Apr 21, 2009 at 9:13 AM, Ranjan <[email protected]> wrote:
>
> Hi,
>
> 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].
>


Did you add this to your lib.app_globals.py

def __init__(self):
    # ...
    from turbomail.adapters import tm_pylons
    tm_pylons.start_extension()

Lucas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to