With email you can send and html email and text email in the same email. You are basically sending and html "alternative" email and part of a multi-part email.
That would be the best bet. On Thu, Nov 10, 2011 at 3:03 PM, Ric <riccardodivirgi...@gmail.com> wrote: > hi, i receive django email on 500 error. > > with that kind of mail is difficult to debug, because i don't have a > lot of informations. > > it's much more simple to debug when i set DEBUG = True and i receive > an html technical response. > with that response i can read a lot of informations (like vars, > request information, server settings and so on) > > my idea is to attach an html file, that is the very same response you > got on error with DEBUG = True. > > this response has got no external dependencies (css and js are inline > in the html), so it can be attached as a file in the email that is > sended on server error. > > this is very simple to archieve, and developers can open it with the > browser and see a lot of information. > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-developers@googlegroups.com. > To unsubscribe from this group, send email to > django-developers+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.