sebastian-ardila / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

inbound mail #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
how to handle inbound mail with django ?

in my urls.py I have a:
(r'^_ah/mail/.+$','app.views.incoming_mail')

that calls this view:
def incoming_mail(request):
    return HttpResponse()

but how to get the message and its components (subject, body, attachements)
in this view ?

Original issue reported on code.google.com by sforne...@gmail.com on 9 Dec 2009 at 2:41

GoogleCodeExporter commented 9 years ago
I found request.raw_post_data but I didn't succeed in extracting clean data.
is it possible to use InboundMailHandler to obtain a InboundEmailMessage object 
?

Original comment by sforne...@gmail.com on 10 Dec 2009 at 8:36

GoogleCodeExporter commented 9 years ago
This is not related to the Django helper.

Please seek support in the appengine forums.

Original comment by mattbrow...@gmail.com on 4 Jan 2010 at 2:52