Cheers! It turns out my email provider was silently ignoring all those mails and just changing the address did the trick. thanks Ben
On 13 Jun, 03:01, "Shannon -jj Behrens" <[EMAIL PROTECTED]> wrote: > On Thu, Jun 12, 2008 at 3:48 AM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote: > > > Hi, I'm having trouble getting pylons to report errors via email where > > debug = false - basically nothing ever turns up. > > > In production.ini there are some lines like: > > > email_to = [EMAIL PROTECTED] > > smtp_server = localhost > > error_email_from = [EMAIL PROTECTED] > > > I can manually set up smtplib and send emails from localhost via > > controllers without a problem so I'm a bit mystified why this is > > failing. No errors appear on the console either. > > > On my development site which does not have a mail server, setting > > debug to false and causing an exception dumps some output to the > > console to do with smtplib failing: > > > Additionally an error occurred while sending the > > <paste.exceptions.reporter.EmailReporter object... > > > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ > > python2.5/smtplib.py", line 310, in connect > > raise socket.error, msg > > error: (49, "Can't assign requested address") > > > so I'm doubly confused why at least something isn't appearing > > anywhere. > > > Any hints as to where to start looking? > > If I were in your shoes, I'd try a few things: > > * Try using smtplib from within a controller. Does it work? > * Try using pdb to debug your problem, per my instructions > here:http://jjinux.blogspot.com/2007/08/python-coding-in-debugger-for-begi... > > Happy Hacking! > -jj > > -- > I, for one, welcome our new Facebook overlords!http://jjinux.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
