Your SMTP server are not using TLS or ssl ? El sábado, 19 de septiembre de 2015, Gergely Polonkai <gerg...@polonkai.eu> escribió: > It belongs to settings.py, as everything else. However, if you haven't overridden it, it should send yeu the emails. Are you sure your e-mail sender settings are set properly? > > Best, > Gergely > > On 19 Sep 2015 14:27, "Xin Ji" <vincent.j....@gmail.com> wrote: >> >> No, I haven't. >> How should I override? And Which file should I put the LOGGING settings in? >> >> 在 2015年9月19日星期六 UTC+8下午7:49:56,Xin Ji写道: >>> >>> I'm using apache + django + mod_wsgi to serve my app. >>> My apache version is 2.4.7 and my django version is 1.8.4 >>> >>> My django settings are: >>> DEBUG=False >>> >>> ADMINS = [ >>> ('username','usern...@comp.nus.edu.sg'), >>> ] >>> >>> MANAGERS = [ >>> ('username','usern...@comp.nus.edu.sg'), >>> ] >>> >>> MIDDLEWARE_CLASSES = ( >>> ... >>> 'django.middleware.common.BrokenLinkEmailsMiddleware', >>> ) >>> >>> EMAIL_HOST = 'stmp.comp.nus.edu.sg' >>> EMAIL_PORT = 25 >>> EMAIL_HOST_USER = 'username' >>> EMAIL_HOST_PASSWORD = 'password' >>> >>> When I ran the server, I got this error on the website(This page uses the django 500.html template.): >>> >>> Server Error (500) >>> >>> There's been an error. It's been reported to the site administrators via email and should be fixed shortly. Thanks for your patience. >>> >>> But I didn't receive any email about the error report. >>> >>> What's wrong with my configurations? >> >> -- >> You received this message because you are subscribed to the Google Groups "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. >> To post to this group, send email to django-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/68c1b621-1cb5-4dfd-bd22-921134a0d128%40googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBUKqJ6yeTQGYN19-imzikrPsbY2PgLHXJVhaEXSS2QkRLw%40mail.gmail.com . > For more options, visit https://groups.google.com/d/optout. >
-- "La utopía sirve para caminar" Fernando Birri -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAG%2B5VyO-rvmEyRix7jq0VRiq%3D8CG7LFB2ZVJef970Jqz0zxrrw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.