2008/12/22 Jan Koprowski <[email protected]>:
>
> Hi !
>
>  Is there any chance to see mailer functions (or any other
> implementation) in Pylons. I think that some "library" responsible for
> safty mail sending (with mail injection protection and some other
> functions) is a good idea.

 Python has smtplib module in standard library (see
http://docs.python.org/library/smtplib.html for more details), so you
can write simple wrapper around it (or look at
paste.exceptions.reporter module for email error reporter). You can
put smtp configuration (server, port, username and password) inside
.ini file and get it from configuration variables from environment.

 What do you mean by mail injection protection and 'other functions'?
If you're concerned about security, remember that properly designed
application should filter user input everywhere.

 Best regards,

 CS

-- 
Cezary Statkiewicz - http://thelirium.net
   rlu#280280           gg#5223219
    jabber://[email protected]

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

Reply via email to