On Tue, Mar 31, 2009 at 3:50 PM, Lukasz Szybalski <[email protected]> wrote:
> ok final settings are"
>
> 1. install trunk of turbomail until beta2 comes out...
>
> then,...
>
>
> 2. add this to
> yourpackage.lib.app_globals.py
>
> def __init__(self):
>        # ...
>        from turbomail.adapters import tm_pylons
>        tm_pylons.start_extension()
>
>
> 3. then add these to your [default] section in development/deployment.ini:
>
>>>
>>> mail.on = true
>>> mail.manager = immediate
>>> mail.brand =
>>> mail.transport = smtp
>>> mail.smtp.server = your.mail.server
>>> mail.smtp.debug =
>>> mail.encoding = utf-8
>>> mail.utf8qp.on = true
>>
>
>
> 4. In your root.py do:
>
>  import turbomail
>        message=turbomail.Message("[email protected],'[email protected]','Thank
> you for Registering')
>        message.plain="Hello this is a test"
>        turbomail.send(message)
>
>
>
>
>
> Question:
> Is to emails escaped, or somehow verified that somebody cannot do:
> "[email protected]\nsubject:This is a spam......."
>
> Thanks,
> Lucas
>

http://lucasmanual.com/mywiki/TurboGears2/Addressbook

I've updated the addressbook tutorial with this section:


Adding Functioinality

    * Verify Email (Chained validator)
    * Send confirmation email
    * Send Confirmation link


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