Em Terça 02 Maio 2006 12:55, jvanasco escreveu: > context because you need to swap code in for something else. the > idiomatic way of writing to a sendmail pipe is based on a bool , so I > decided that my email wrapper would be best off returning a bool as > well.
Why using a pipe when you could use some Python module to send email? This would make it irrelevant if someone uses sendmail (ouch!) or some other MTA that provides a binary with the same name (phew!). > do you have any clue on how i can raise an error in my controller to > process as another method? I didn't get your doubt. What I do here is raising errors in my controller and I have a decorator that catches these and take some action based on that error. Another option might be using the exception_handler... -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

