On Wed, Apr 1, 2009 at 12:13 PM, Lukasz Szybalski <[email protected]> wrote:
> 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
>
>
>


How can I disable the "trace back of the email"

"printing to stdout" is not allowed" in production. This shows up in logs;


[Fri Apr 10 16:21:08 2009] [error] reply: retcode (220); Msg:
xxxxx.com ESMTP Postfix ()
[Fri Apr 10 16:21:08 2009] [error] connect:xxxxxxxxxxxxX.com ESMTP Postfix ()
[Fri Apr 10 16:21:08 2009] [error] send:'ehlo xxxxxxxxx.com\\r\\n'
[Fri Apr 10 16:21:08 2009] [error] reply:'250-xxxxxxxxxxxxxxxxxx.com\\r\\n'
[Fri Apr 10 16:21:08 2009] [error] reply:'250-PIPELINING\\r\\n'
.....................



Thanks,
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