straight55b / app-engine-patch

Automatically exported from code.google.com/p/app-engine-patch
0 stars 0 forks source link

mail service #239

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to handle inbound mail.
What is the right way to plug inbound mail to a django view ?
if I add in urls.py:
(r'^_ah/mail/.+/$','myapp.views.inbound_mail'),
I get an error:
'module' object has no attribute 'ROOT_URLCONF'

Original issue reported on code.google.com by sforne...@gmail.com on 8 Nov 2009 at 12:34

GoogleCodeExporter commented 9 years ago
has someone solved this problem ?

Original comment by sforne...@gmail.com on 26 Nov 2009 at 12:33

GoogleCodeExporter commented 9 years ago
I finally found the error...
just need to remove the "/" before "$" and all works fine !
(r'^_ah/mail/.+$','myapp.views.inbound_mail')

Original comment by sforne...@gmail.com on 1 Dec 2009 at 8:04